[SERVER-26303] #4 subtest in migration_ignore_interrupt.js should pause at catchup being unpausing cloned step Created: 23/Sep/16  Updated: 26/Sep/16  Resolved: 26/Sep/16

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Dianna Hohensee (Inactive)
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

This code, found here,

    unpauseMigrateAtStep(shard1, migrateStepNames.cloned);
    assert.eq(2, shard0Coll3.count(), "donor shard0 completed a migration that it aborted");
    assert.eq(1,
              shard1Coll3.count(),
              "shard1 accessed the xfermods log despite " + "donor migration abortion");

should do a pause at catchup step, then unpause clone, and wait for catchup before doing the count asserts.

This won't fail the migration_ignore_interrupt.js test, and it's merely a testing issue: not testing it right.



 Comments   
Comment by Dianna Hohensee (Inactive) [ 26/Sep/16 ]

This fix won't actually work: after the destination shard is released, it will fail catchup and never reach the failpoint after that.

Generated at Thu Feb 08 04:11:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.