Operational Defect Database

BugZero found this defect 65 days ago.

MongoDB | 2610288

shardCollection may notify false ConflictingOperationInProgress errors when targeting an existing TS collection.

Last update date:

3/15/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

Consider the following sequence: a shardCollection request for an existing TS collection is received by the command handler; the request does not include any TS options (the current ones have to be maintained) the request is dispatched to a new or existing Coordinator (running on a separate executor) through the getOrCreate() method the command handler thread is suspended the DDL Coordinator thread advances its execution until the translateRequestParameters(), which modifies its _request field by appending the TS options for the targeted nss retrieved from the local catalog the command handler thread is resumed; to verify that getOrCreate() did serve the ongoing request, it invokes the checkIfOptionsConflict() method specifying the original request parameters; due to what happened on step 4, the check fails.

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Needs Scheduling

Learn More

Search:

...