[SERVER-54017] time-series inserts should not forward statement ids for non-retryable write operations Created: 25/Jan/21  Updated: 29/Oct/23  Resolved: 01/Feb/21

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

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

Issue Links:
Related
related to SERVER-54123 add sharded_multi_stmt_txn_jscore_pas... Closed
is related to SERVER-28754 Make BatchWriteExec on mongos send tx... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2021-02-08
Participants:

 Description   

The time-series collection write logic transforms/combines inserts into inserts/updates for the bucket collection. The current logic forwards the original statement IDs in the insert command to the write for the bucket collection. However, there is no reasonable mapping for the original statement IDs outside retryable writes (which are limited to one insert per batch).

==== OLD DESCRIPTION ===
Title: run time-series tests in sharded multi-document transactions passthrough test suites

A small number of time-series tests currently fail in the sharded_multi_stmt_txn_jscore_passthrough. It would be beneficial for test coverage to look into why these tests are not passing in this test configuration.



 Comments   
Comment by Githook User [ 29/Jan/21 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-54017 forward statement ids for time-series inserts only for retryable writes
Branch: master
https://github.com/mongodb/mongo/commit/2c4a70836be7bdc68d6411c474ff8e4829cc9464

Comment by Githook User [ 29/Jan/21 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-54017 add helper for checking if a write operation is retryable
Branch: master
https://github.com/mongodb/mongo/commit/3cefa18efa5875263da9923e9c617f90482e1f9a

Comment by Githook User [ 29/Jan/21 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-54017 add statement ids to error message for op count checking in write_ops_parsers.cpp
Branch: master
https://github.com/mongodb/mongo/commit/2b7c433c70650bb8d0738ab128f74e24548fc932

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