forked from linkedin/Burrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
By always setting MaxOffset to the value of Offset when the ring entry is created, we assure that MaxOffset is always greater than or equal to Offset. This means that when checking for whether or not we should insert an artificial commit, we only need one check - if MaxOffset is greater than or equal to the broker offset.
- Loading branch information
Todd Palino
committed
Mar 2, 2017
1 parent
ab642be
commit 0a13c77
Showing
1 changed file
with
3 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters