You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is incredibly handy that we have the option to pass flags as environment variables or on the cli but there is an unfortunate limitation of how to pass commands to ECS tasks that I would like to avoid having to work around.
Cant pass empty LOTUS_DB in ECS
On the cli I can use --db "" or LOTUS_DB="", but I cant set them empty in ECS, I'd like the default changing to be empty rather than postgres://postgres:password@localhost:5432/postgres?sslmode=disable, but we could allow LOTUS_DB=false or something if we dont want to change the default.
I could make folders like $CSV_PATH/$START_$STOP or something but I was thinking it would be better if we used a single folder as the target and did a file per tipset, named by the height? Downside would be lots of files but EFS is quite forgiving here. I think we could use it to avoid re-work if the walk skipped over when the file for the height existed (maybe add a --force flag or we delete or target a new output folder if we want to rerun some) and it would be a simple way of spotting failures w/o having to look at the logs etc.
eg <CSVPATH>/<TABLENAME>/####.csv
The text was updated successfully, but these errors were encountered:
I don't think writing a file per tipset would be what most people would expect when using walk and seems specific the particular configuration of the backfill.
The visor_processing_reports table that is also output will contain one row for each tipset+task combination so it should be easy to grep to spot failures. Some tipsets will contain reproducible failures that indicate missing functionality in visor (#273 for example)
Yay, I'd not noticed that you output the report. I'll do some wrangling to make a folder per backfill job and slurp up all the reports and write some sort of meta-report 😄
It is incredibly handy that we have the option to pass flags as environment variables or on the cli but there is an unfortunate limitation of how to pass commands to ECS tasks that I would like to avoid having to work around.
Cant pass empty LOTUS_DB in ECS
On the cli I can use
--db ""
orLOTUS_DB=""
, but I cant set them empty in ECS, I'd like the default changing to be empty rather thanpostgres://postgres:password@localhost:5432/postgres?sslmode=disable
, but we could allowLOTUS_DB=false
or something if we dont want to change the default.--csv
improvementsat the mo, we dump files into the folder passed.
I could make folders like
$CSV_PATH/$START_$STOP
or something but I was thinking it would be better if we used a single folder as the target and did a file per tipset, named by the height? Downside would be lots of files but EFS is quite forgiving here. I think we could use it to avoid re-work if the walk skipped over when the file for the height existed (maybe add a --force flag or we delete or target a new output folder if we want to rerun some) and it would be a simple way of spotting failures w/o having to look at the logs etc.eg
<CSVPATH>/<TABLENAME>/####.csv
The text was updated successfully, but these errors were encountered: