[SERVER-39472] Backport changes to apply_ops_concurrent_non_atomic.js to account for HMAC key inserts in 3.6 and 4.0. Created: 08/Feb/19 Updated: 29/Oct/23 Resolved: 15/Feb/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | 3.6.11, 4.0.7 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jason Chan | Assignee: | Jacob Evans |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Backport Requested: |
v3.6
|
||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 7 | ||||||||||||
| Description |
|
Currently in 3.6 and 4.0, apply_ops_concurrent_non_atomic.js can fail as it checks the opCounters for inserts in collections. However, periodic HMAC key inserts can cause this opCounter to go up. This bug was resolved in |
| Comments |
| Comment by Githook User [ 15/Feb/19 ] | |
|
Author: {'name': 'Jacob Evans', 'email': 'jacob.evans@10gen.com'}Message: | |
| Comment by Githook User [ 15/Feb/19 ] | |
|
Author: {'name': 'Jacob Evans', 'email': 'jacob.evans@10gen.com'}Message: | |
| Comment by Jason Chan [ 08/Feb/19 ] | |
|
david.storch I'm not too sure really, but the problem stems from the inserts done into the admin.system.key.
From what I understand, these inserts are performed in the background of the node while tests are running every some duration, which can cause problems for jstests that rely on opcounters for verifying results. I'm not sure if there is a way to turn it off completely (or whether we want to) for a test. | |
| Comment by David Storch [ 08/Feb/19 ] | |
|
jason.chan, what does "HMAC" mean? | |
| Comment by Charlie Swanson [ 08/Feb/19 ] | |
|
jacob.evans can you take care of this as part of BF friday? Thanks. |