[SERVER-29944] Implement a basic idempotency checker for testing oplog idempotency Created: 30/Jun/17  Updated: 30/Oct/23  Resolved: 12/Aug/17

Status: Closed
Project: Core Server
Component/s: Replication, Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.5.12

Type: Task Priority: Major - P3
Reporter: May Hoque Assignee: May Hoque
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-30301 Add explicit configuration object for... Closed
depends on SERVER-30302 Add explicit configuration object for... Closed
is depended on by SERVER-30617 Re-enable support for array values in... Closed
Related
is related to SERVER-46818 Do untimestamped writes in Idempotenc... Closed
Backwards Compatibility: Fully Compatible
Sprint: TIG 2017-07-10, TIG 2017-07-31, TIG 2017-08-21
Participants:

 Description   

Implementing a rudimentary idempotency checker class should provide enough to flesh out the skeleton of the oplog idempotency project, and give a good foundation for improvements that will be made/added in the future.

This implementation will involve the addition of a kAnySuffix, kAnyPrefix, kAnyPrefixOrSuffix, and a kEntireSequence, and therefore provide more flexibility to testing idempotency than just reapplying the same sequence of operations over and over again.



 Comments   
Comment by Githook User [ 12/Aug/17 ]

Author:

{'name': 'may', 'username': 'Utagai', 'email': 'may.hoque@mongodb.com'}

Message: SERVER-29944 Implement a basic idempotency checker for testing oplog
idempotency

Signed-off-by: Max Hirschhorn <max.hirschhorn@mongodb.com>

Also includes changes to tie the PseudoRandom instances in
ScalarGenerator and UpdateSequenceGenerator together via a SecureRandom
in runIdempotencyTestCase().
Branch: master
https://github.com/mongodb/mongo/commit/51dc6af5cc53805d8a523c45ae285da5fddc58f2

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