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

Test restarting db-sync with alternate command line params #1466

Merged
merged 9 commits into from
Sep 5, 2023

Conversation

Cmdv
Copy link
Contributor

@Cmdv Cmdv commented Jul 19, 2023

Description

This fixes:
#1465
#1486

Checklist

  • Commit sequence broadly makes sense
  • Commits have useful messages
  • New tests are added if needed and existing tests are updated
  • Any changes are noted in the changelog
  • Code is formatted with fourmolu on version 0.10.1.0 (which can be run with scripts/fourmolize.sh)
  • Self-reviewed the diff

Migrations

  • The pr causes a breaking change of type a,b or c
  • If there is a breaking change, the pr includes a database migration and/or a fix process for old values, so that upgrade is possible
  • Resyncing and running the migrations provided will result in the same database semantically

If there is a breaking change, especially a big one, please add a justification here. Please elaborate
more what the migration achieves, what it cannot achieve or why a migration is not possible.

@Cmdv Cmdv force-pushed the tests-stop-start-cmd-line branch 2 times, most recently from 209cc82 to 00fd409 Compare August 17, 2023 11:13
@Cmdv Cmdv force-pushed the tests-stop-start-cmd-line branch 4 times, most recently from 4f3b562 to 950b92a Compare August 24, 2023 09:16
@Cmdv Cmdv marked this pull request as ready for review August 24, 2023 13:10
@Cmdv Cmdv requested a review from a team as a code owner August 24, 2023 13:10
sgillespie
sgillespie previously approved these changes Aug 24, 2023
Copy link
Contributor

@sgillespie sgillespie left a comment

Choose a reason for hiding this comment

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

LGTM

@Cmdv Cmdv requested a review from kderme August 31, 2023 07:39
cardano-db-sync/src/Cardano/DbSync/Api.hs Outdated Show resolved Hide resolved
cardano-db-sync/src/Cardano/DbSync/Api.hs Outdated Show resolved Hide resolved
cardano-db/src/Cardano/Db/Multiplex.hs Outdated Show resolved Hide resolved
@Cmdv Cmdv requested a review from kderme September 5, 2023 07:51
Copy link
Contributor

@kderme kderme left a comment

Choose a reason for hiding this comment

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

Great work!
The single comment I left is actually already tracked by #1489

wasPruneTxOutPreviouslySet = elem PruneTxOutFlagPreviouslySet

data PruneConsumeMigration = PruneConsumeMigration
{ pcmConsume :: Bool
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this ever used? Maybe it can be removed

@kderme kderme merged commit a5bdb33 into master Sep 5, 2023
13 of 14 checks passed
@iohk-bors iohk-bors bot deleted the tests-stop-start-cmd-line branch September 5, 2023 09:09
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

3 participants