|
Attached the reviewed test script unique_index_violation_1.0.js
|
|
I think the test attached here might have a chance of triggering the condition, but I think we can improve the chances that it actually hits it. If you could serve up this file in codereview, I can leave some comments on my ideas.
|
|
We worked together to create a javascript test that can be used to test the unique index violation. milkie would you mind taking a look at the test and letting us know if you think it should trigger the condition that requires unique index constraint checking to be relaxed on the secondary?
|
|
I did some searching through JIRA, and I think a good starting point for this would be the case outlined in SERVER-19618. I suspect we can't use applyOps - since it won't enable the dupsAllowed mode, but the basic functionality we want to test is described there.
|
Generated at Thu Feb 08 04:30:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.