Details
-
Task
-
Resolution: Won't Do
-
Major - P3
-
None
-
None
-
None
-
None
-
Sharding NYC
Description
cmdObj: {
|
update: collName,
|
updates: [
|
{q: {y: yFieldVal}, u: {y: yFieldVal + 1}},
|
{q: {y: 6}, u: {x: -1, _id: 6}, upsert: true}
|
],
|
}
|
index is correctly set to 1 here, but rewritten here. Looks like targetedBatch.size == 1, and thus it is reading an out of bounds value at targetedBatch[1] (I confirmed childBatchIndex == 1). Moreover, I saw that targetBatch[0] = 1.