[SERVER-33873] StorageInterface methods should be able to identify a collection via UUID Created: 14/Mar/18  Updated: 29/Oct/23  Resolved: 15/Mar/18

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

Type: Task Priority: Major - P3
Reporter: Kyle Suarez Assignee: Kyle Suarez
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-29051 RollbackImpl should create rollback d... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2018-03-26
Participants:

 Comments   
Comment by Githook User [ 15/Mar/18 ]

Author:

{'email': 'kyle.suarez@mongodb.com', 'name': 'Kyle Suarez', 'username': 'ksuarz'}

Message: SERVER-33873 change StorageInterface methods to accept NamespaceStringOrUUID

This updates the following functions to take a NamespaceStringOrUUID to
specify the collection:

  • insertDocuments
  • findById
  • deleteById
  • upsertById

This leaves other methods unchanged; if we decide to keep the
StorageInterface around and require more methods to accept a UUID, they
could conceivably be updated in a similar manner.
Branch: master
https://github.com/mongodb/mongo/commit/146bc6e17c9b38889c00b62f80b070735d96a8f5

Comment by Kyle Suarez [ 14/Mar/18 ]

Updated the title to align with Spencer's ideology that it should reflect the problem or desired behavior, rather than prescribing a fix.

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