Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ECO-1055] make processor easly restartable #659

Merged
merged 5 commits into from Dec 19, 2023
Merged

[ECO-1055] make processor easly restartable #659

merged 5 commits into from Dec 19, 2023

Conversation

CRBl69
Copy link
Collaborator

@CRBl69 CRBl69 commented Dec 15, 2023

Make the processor restartable by getting the latest indexed txn from the db on startup.

Also copy instead of mount the config file.

@alnoki

This comment was marked as resolved.

@alnoki alnoki changed the base branch from main to dss-v1.5.0 December 15, 2023 20:12
Copy link
Member

@alnoki alnoki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that #658 will require the new config style, it probably makes sense to

  1. Address comments
  2. Get this merged to v1.5.0
  3. Merge v1.5.0 into [ECO-977] Add tables needed for liquidity analytics #658
  4. Merge [ECO-977] Add tables needed for liquidity analytics #658 into v1.5.0
  5. Add a docs PR into v1.5.0 as described at [ECO-1055] make processor easly restartable #659 (comment) (I've created ECO-1080 to track this)

src/docker/processor/Dockerfile Outdated Show resolved Hide resolved
src/docker/processor/start.sh Outdated Show resolved Hide resolved
@alnoki alnoki merged commit f069c48 into dss-v1.5.0 Dec 19, 2023
@alnoki alnoki deleted the ECO-1055 branch December 19, 2023 19:16
Comment on lines +18 to +19
if [ -s "out.csv" ];then
export STARTING_VERSION=$(cut -d, -f2 /app/out.csv)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be [ -s "/app/out.csv" ]

Will fix in #657

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed at b3a36d4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants