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

fix duplicating&learning(5/n): the plog will be gc before comfirmed #767

Open
Tracked by #766
foreverneverer opened this issue Jun 16, 2021 · 0 comments
Open
Tracked by #766
Labels
duplicating&learning bug in duplicating while learning type/bug This issue reports a bug.

Comments

@foreverneverer
Copy link
Contributor

Bug Report

XiaoMi/rdsn#845 is fixing the bug #765, and test show the plog will not be lost when replay in learning, but in latest two test, when start duplicating to be ready replay and send, the log report the max_gced_decree > start_decree:

F2021-06-16 14:47:25.525 (1623826045525670453 19943) replica.rep_long9.0405001600000040: replica_duplicator.cpp:176:verify_start_decree(): assertion expression: max_gced_decree < start_decree
D2021-06-16 14:47:25.525 (1623826045525692473 19854) replica.default5.0401000400000021: pegasus_mutation_duplicator.cpp:95:pegasus_mutation_duplicator(): [[email protected]:32801] initialize mutation duplicator for local cluster [id:2], remote cluster [id:1, addr:c4tst-dup1]
F2021-06-16 14:47:25.525 (1623826045525701911 19943) replica.rep_long9.0405001600000040: replica_duplicator.cpp:176:verify_start_decree(): the logs haven't yet duplicated were accidentally truncated [max_gced_decree: 2809371, start_decree: 1, confirmed_decree: 0, last_decree: 0]

I haven't found the cause

@foreverneverer foreverneverer added the type/bug This issue reports a bug. label Jun 16, 2021
@foreverneverer foreverneverer added the duplicating&learning bug in duplicating while learning label Jun 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicating&learning bug in duplicating while learning type/bug This issue reports a bug.
Projects
None yet
Development

No branches or pull requests

1 participant