[SERVER-27039] Update sharded_moveChunk_drop_shard_key_index.js FSM workload to use skip() function and chunk_helpers.js Created: 15/Nov/16  Updated: 05/Apr/17  Resolved: 14/Dec/16

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

Type: Improvement Priority: Minor - P4
Reporter: Max Hirschhorn Assignee: Max Hirschhorn
Resolution: Done Votes: 0
Labels: test-only
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-24994 Assertion when sharded collection is ... Closed
depends on SERVER-20447 Add concurrency workload that tests d... Closed
Backwards Compatibility: Fully Compatible
Sprint: TIG 2016-12-12, TIG 2017-01-02
Participants:

 Description   

SERVER-20447 added the ability to define a $config.skip(cluster) function to avoid running an FSM workload against a cluster with an incompatible configuration (e.g. the balancer being enabled). We can use this mechanism to clean up the explicit blacklisting of the sharded_moveChunk_drop_shard_key_index.js FSM workload in all runners except fsm_all_sharded_replication.js.

Additionally, SERVER-20447 introduced chunk_helper.js for performing the "split", "moveChunk", and "mergeChunks" commands. It handles errors returned by the server from another sharding metadata operation already in-progress by retrying the operation with exponential backoff. We should see if it possible to use these helper functions for the "moveChunk" command or the "split" command performed in sharded_moveChunk_drop_shard_key_index.js. Note: Given that a worker thread doesn't own a particular chunk range, there may not be any stronger assertions that can be made even with the retrying.



 Comments   
Comment by Githook User [ 14/Dec/16 ]

Author:

{u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}

Message: SERVER-27039 Use skip() in sharded_moveChunk_drop_shard_key_index.js.

This allows preventing the FSM workload from running in incompatible
configurations without cluttering up the fsm_all*.js blacklists.
Branch: master
https://github.com/mongodb/mongo/commit/632871ad320932d35ce4180e82988d9326ad06c6

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