[SERVER-78146] Honor collectionUUID when dropping a time-series bucket directly Created: 15/Jun/23  Updated: 15/Jun/23  Resolved: 15/Jun/23

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

Type: Task Priority: Major - P3
Reporter: Felipe Gasper Assignee: Backlog - Storage Execution Team
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Assigned Teams:
Storage Execution
Backport Requested:
v7.0, v6.0
Participants:

 Description   

Needed for C2C time-series support.

Presently this fails, thus:

{"level":"fatal","serverID":"a485e072","error":"Change Event Applier (DDL) failed to apply single event as part of batch: DDL applier failed to apply drop collection event: {_id: {\"_data\": \"82648B6DE9000000032B042C0100296E5A1004FD571F2668164D02898FAB8FEF639190463C6F7065726174696F6E54797065003C64726F70000004\"}, operationType: drop, clusterTime: {T:1686859241 I:3}, ns: {db: mydb, coll: system.buckets.weather}, collectionUUID: fd571f26-6816-4d02-898f-ab8fef639190}: (InvalidOptions) The collectionUUID parameter cannot be passed when dropping a time-series collection","time":"2023-06-15T16:00:41.268908-04:00","message":"Error during replication"}



 Comments   
Comment by Felipe Gasper [ 15/Jun/23 ]

This shouldn’t actually be necessary since TS collections can’t be renamed, and C2C only uses one thread for DDL.

Comment by Gregory Noma [ 15/Jun/23 ]

This may be because currently trying to drop a system.buckets collection actually gets rewritten into a drop on the time-series view.

Generated at Thu Feb 08 06:37:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.