mirror of https://gitee.com/bigwinds/arangodb
Increase Plan/Version if follower is removed in MoveShard. (#6664)
This was forgotten when we added the `remainsFollower` flag.
This commit is contained in:
parent
8b9a0f6a25
commit
c4abcac276
|
@ -591,6 +591,9 @@ JOB_STATUS MoveShard::pendingLeader() {
|
|||
pre.add(plan);
|
||||
}
|
||||
});
|
||||
if (!_remainsFollower) {
|
||||
addIncreasePlanVersion(trx);
|
||||
}
|
||||
addPreconditionCollectionStillThere(pre, _database, _collection);
|
||||
addRemoveJobFromSomewhere(trx, "Pending", _jobId);
|
||||
Builder job;
|
||||
|
|
Loading…
Reference in New Issue