Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-88141

Update KVEngine::getRecordStore comment about multiple copies for same ident

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Storage Execution

      KVEngine::getRecordStore warns agains instantiating multiple RecordStore instances for the same ident being a "rules violation". This is not completely true anymore, as PIT reads may create Collection instances without sharing state (here).

      In this case, concurrent readers will each instantiate a RecordStore for the same ident. This scenario should be safe as this "rule" seems to exist to protect write state, and writes are not possible.

      The comment should be updated accordingly.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            yujin.kang@mongodb.com Yujin Kang Park
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: