lotus icon indicating copy to clipboard operation
lotus copied to clipboard

refactor: use epochs to gc eth tx hashes from chain indexer

Open akaladarshi opened this issue 1 year ago • 3 comments
trafficstars

Fixes issue: #12465, it changes:

  • Update the remove eth_tx_hash query to delete before epoch instead of days
  • refactor chain indexer gc function.

akaladarshi avatar Sep 26 '24 13:09 akaladarshi

@akaladarshi Will review this on Monday. Thanks for raising this !

aarshkshah1992 avatar Sep 27 '24 07:09 aarshkshah1992

@akaladarshi Please can you raise this PR against https://github.com/filecoin-project/lotus/pull/12521 and change the GC test we already have at gc_test.go ?

aarshkshah1992 avatar Oct 02 '24 05:10 aarshkshah1992

@akaladarshi Some quick comments.

aarshkshah1992 avatar Oct 02 '24 15:10 aarshkshah1992

Thanks !

aarshkshah1992 avatar Oct 04 '24 05:10 aarshkshah1992