[SERVER-73264] Fix wrong invariant in MigrationChunkClonerSource::commitClone Created: 24/Jan/23  Updated: 29/Oct/23  Resolved: 26/Jan/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.15, 6.3.0-rc0, 6.0.5, 6.0.6

Type: Bug Priority: Major - P3
Reporter: Randolph Tan Assignee: Randolph Tan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
is related to SERVER-72619 Refactor and add more testing for mig... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.0, v5.0
Participants:

 Description   

https://github.com/10gen/mongo/blob/d1e6694bc652cca179f2f68c39b751a78fcbd55c/src/mongo/db/s/migration_chunk_cloner_source.cpp#L423

Invariant should have been:
invariant(!_cloneList.hasMore());



 Comments   
Comment by Githook User [ 16/Mar/23 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-73264 Fix wrong invariant in MigrationChunkClonerSource::commitClone

(cherry picked from commit dac5e7c0e8552d1fd261201e9238534a4a5d9156)
Branch: v6.0
https://github.com/mongodb/mongo/commit/be3ffbdc51ed4d922822b0652f8473c252c7c636

Comment by Githook User [ 02/Mar/23 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: Revert "SERVER-73264 Fix wrong invariant in MigrationChunkClonerSource::commitClone"

This reverts commit 2c476fca4c0ee33312acd7591e8a0a2d7ac9020e.
Branch: v6.0
https://github.com/mongodb/mongo/commit/5321501d5dc7814641fc3ba6e5535b038ddbf4dd

Comment by Githook User [ 31/Jan/23 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-72619 Refactor and add more testing for migration_chunk_cloner_source changes

(cherry picked from commit 6659be6a462ee241f6b0a80a27ae9440bebf9216)

SERVER-73264 Fix wrong invariant in MigrationChunkClonerSource::commitClone

(cherry picked from commit 2c476fca4c0ee33312acd7591e8a0a2d7ac9020e)
Branch: v5.0
https://github.com/mongodb/mongo/commit/b73c1c1772dabb0210e0326caae781c463671896

Comment by Githook User [ 27/Jan/23 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-73264 Fix wrong invariant in MigrationChunkClonerSource::commitClone

(cherry picked from commit dac5e7c0e8552d1fd261201e9238534a4a5d9156)
Branch: v6.0
https://github.com/mongodb/mongo/commit/2c476fca4c0ee33312acd7591e8a0a2d7ac9020e

Comment by Githook User [ 25/Jan/23 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-73264 Fix wrong invariant in MigrationChunkClonerSource::commitClone
Branch: master
https://github.com/mongodb/mongo/commit/dac5e7c0e8552d1fd261201e9238534a4a5d9156

Generated at Thu Feb 08 06:24:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.