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

Add clarity to RequestConfirmFreezable. Does not change functionality. #530

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
* A singleton CRDTInfo object exists for a node in the CRDT graph
* which has an update number that is 0 for the first update and
* monotonically increases on each subsequent update. This is different
* than the request number. In this class
* that update number is used to "timeout" the freeze if a confirmation
* than the request number and is used to "timeout" the freeze if a confirmation
* is not recieved within the max freeze duration.
* </p>
*
Expand Down Expand Up @@ -87,7 +86,7 @@ public void freeze()

updateNumberToUnfreeze = crdtInfo.getUpdateNumber();

isFrozen = crdtInfo.getUpdateNumber() < updateNumberToUnfreeze;
isFrozen = false;

if (wasFrozen != isFrozen)
LogTools.debug("%s Update #%d: Frozen %b -> %b %s".formatted(crdtInfo.getActorDesignation(),
Expand Down
Loading