-
Notifications
You must be signed in to change notification settings - Fork 73
CBL-7401: Port Version Vector Conflict Detection Tests from Sync Gate… #2364
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
Conversation
Code Coverage Results:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a minor comment about an enum
} | ||
|
||
// HLVConflictStatus returns whether two HLVs are in conflict or not | ||
enum HLVConflictStatus : int16_t { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this necessary? Seems like the same as the versionOrder
enum in sourceID.hh
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's from SGW.
}, | ||
{ | ||
"existing mv", | ||
#if 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's fine to just note in this PR that the merge function changed the values, the #if 0
is a bit confusing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried emphasize the difference. The purpose of this PR is to find the differences and assess them. Right?
CBL-7499: Invalid binary version ID when saving a resolved conflict doc that has legacy RevID CBL-7500: Pull lower remote legacy rev but with same generation was not resulted in conflict CBL-7401: Port Version Vector Conflict Detection Tests from Sync Gateway Tests (#2364) CBL-7402: Port Version Vector Local Wins /Remote Wins Conflict Resolution Tests from Sync Gateway Tests CBL-7403: Port Version Vector Merge Conflict Resolution Tests from Sync Gateway Tests CBL-7551: Rev message contains two ;; in the history for the client-win merge rev (#2366) CBL-7547: Client-win resolved doc as rev-tree encoded version cannot be pushed back (#2365)
…way Tests
CBL-7402: Port Version Vector Local Wins /Remote Wins Conflict Resolution Tests from Sync Gateway Tests
CBL-7403: Port Version Vector Merge Conflict Resolution Tests from Sync Gateway Tests