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

Calling storageSize() on ephemeral temporary record stores returns 0

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Storage Execution
    • ALL
      • create a temporary record store
      • insert some records
      • call storageSize()

      When we create a temporary record store, the field _tracksSizeAdjustment is set to false

      On inserting records, the method _changeNumRecordsAndDataSize is called to add the statistics. The method returns without modifying the _sizeInfo when _tracksSizeAdjustment is set to false.

      When calling storageSize() to get the size, if storage engine is ephemeral, dataSize() is called which uses _sizeInfo.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            adi.agrawal@mongodb.com Adi Agrawal
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: