New issue
Advanced search Search tips
Starred by 3 users

Issue metadata

Status: Submitted
Owner:
Closed: May 4
Cc:
Components:



Sign in to add a comment

Invalid Change sequence after migration to NoteDb

Project Member Reported by luca.mil...@gmail.com, Apr 26

Issue description

*****************************************************************
*****                                                       *****
***** !!!! THIS BUG TRACKER IS FOR GERRIT CODE REVIEW !!!!  *****
*****                                                       *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, CYANOGENMOD,  *****
***** INTERNAL ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.*****
*****                                                       *****
*****   THOSE ISSUES BELONG IN DIFFERENT ISSUE TRACKERS     *****
*****                                                       *****
*****************************************************************

Affected Version: 2.15.1

What steps will reproduce the problem?
1. Migrate to NoteDb
2. Interrupt the migration at the state READ_WRITE_WITH_SEQUENCE_REVIEW_DB_PRIMARY
3. Create new changes using ReviewDb
4. Migrate again to NoteDb until the end

What is the expected output?

Gerrit is successfully migrated to NoteDb and new changes start from the MAX(ReviewDb sequence) + 1

What do you see instead?

Gerrit is not able to push new changes because the new Changes on NoteDb have sequence numbers conflicting with the changes created at the step 3.

Please provide any additional information below.

The problem happened on GerritHub.io just after the migration to NoteDb.
See the details at:
https://groups.google.com/forum/#!topic/repo-discuss/ZMf4tZiGbvE


 
Project Member

Comment 1 by luca.mil...@gmail.com, Apr 27

Status: Accepted (was: New)
Fix available at:
https://gerrit-review.googlesource.com/c/gerrit/+/174750
Project Member

Comment 2 by luca.mil...@gmail.com, Apr 27

Status: Started (was: Accepted)
Project Member

Comment 3 by luca.mil...@gmail.com, Apr 27

Status: ChangeUnderReview (was: Started)
Project Member

Comment 4 by luca.mil...@gmail.com, Apr 27

Labels: FixedIn-2.15.2
Status: Submitted (was: ChangeUnderReview)

Sign in to add a comment