[go: up one dir, main page]

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

Experiment: also don't write clock tags to WAL in partial state #5352

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

timvisee
Copy link
Member
@timvisee timvisee commented Nov 4, 2024

Extends experiment in #5349.

Don't just ignore the clock tag in partial state, but also prevent writing it in the WAL.

Otherwise we'll still bump our last seen clocks with the tags replayed from the WAL.

All Submissions:

  • Contributions should target the dev branch. Did you create your branch from dev?
  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

@generall
Copy link
Member
generall commented Nov 4, 2024

This change is potentially have impact on the ability to use wal-delta transfer multiple times in a row, so we should not release version with this patch

@timvisee
Copy link
Member Author
timvisee commented Nov 4, 2024

I'll prepare a revert PR so we can easily undo the experiment.

#5353

@timvisee timvisee merged commit f69ec61 into dev Nov 4, 2024
17 checks passed
@timvisee timvisee deleted the ignore-wal-clocks-in-partial-state-2 branch November 4, 2024 13:39
timvisee added a commit that referenced this pull request Nov 4, 2024
timvisee added a commit that referenced this pull request Nov 5, 2024
timvisee added a commit that referenced this pull request Nov 5, 2024
timvisee added a commit that referenced this pull request Nov 6, 2024
timvisee added a commit that referenced this pull request Nov 6, 2024
timvisee added a commit that referenced this pull request Nov 8, 2024
timvisee added a commit that referenced this pull request Nov 8, 2024
* Revert "Experiment: in stream records, set cutoff to latest clocks receiver is guaranteed to have (#5375)"

This reverts commit e843647.

* Revert "Set replica state function does not need to be async anymore (#5379)"

This reverts commit fdf08e0.

* Revert "Experiment: disable clocks in initializing state, propagate ignore flag (#5372)"

This reverts commit 0d98f6f.

* Revert "Experiment: also don't write clock tags to WAL in partial state (#5352)"

This reverts commit f69ec61.

* Revert "Experiment: ignore clock tags when replica is in partial state (#5349)"

This reverts commit 1b8a38f.

* Keep change to not send updates to replicas in recovery state

Co-authored-by: Andrey Vasnetsov <andrey@vasnetsov.com>

---------

Co-authored-by: Andrey Vasnetsov <andrey@vasnetsov.com>
timvisee added a commit that referenced this pull request Nov 8, 2024
* Revert "Experiment: in stream records, set cutoff to latest clocks receiver is guaranteed to have (#5375)"

This reverts commit e843647.

* Revert "Set replica state function does not need to be async anymore (#5379)"

This reverts commit fdf08e0.

* Revert "Experiment: disable clocks in initializing state, propagate ignore flag (#5372)"

This reverts commit 0d98f6f.

* Revert "Experiment: also don't write clock tags to WAL in partial state (#5352)"

This reverts commit f69ec61.

* Revert "Experiment: ignore clock tags when replica is in partial state (#5349)"

This reverts commit 1b8a38f.

* Keep change to not send updates to replicas in recovery state

Co-authored-by: Andrey Vasnetsov <andrey@vasnetsov.com>

---------

Co-authored-by: Andrey Vasnetsov <andrey@vasnetsov.com>
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.

2 participants