Calling storageSize() on ephemeral temporary record stores returns 0

XMLWordPrintableJSON

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

      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:
            Unassigned
            Reporter:
            Adi Agrawal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: