[SERVER-51697] change_streams_new_shard_new_database.js expects a deterministic assignment of a database to a shard when 'create' command is issued Created: 16/Oct/20  Updated: 29/Oct/23  Resolved: 06/Nov/20

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

Type: Bug Priority: Major - P3
Reporter: Mindaugas Malinauskas Assignee: Mindaugas Malinauskas
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Query 2020-11-02, Query 2020-11-16, Execution Team 2020-10-19
Participants:
Linked BF Score: 31

 Description   

When setting up the initial state change_streams_new_shard_new_database.js expects  a deterministic assignment of a database to a shard (specifically, to "newShard1") when 'create' command is issued at line 78. A check if that happened is done on the subsequent line. However, an assignment of a database to a shard exhibits apparent non-determinism, which causes sporadic test failures.

 



 Comments   
Comment by Githook User [ 06/Nov/20 ]

Author:

{'name': 'Mindaugas Malinauskas', 'email': 'mindaugas.malinauskas@mongodb.com'}

Message: SERVER-51697 change_streams_new_shard_new_database.js expects deterministic assignment of a database to a shard when
Branch: master
https://github.com/mongodb/mongo/commit/d08a42874819786ba4b5457a62fd01c2fbf0a59f

Generated at Thu Feb 08 05:26:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.