Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-9271

Clean up tiered storage id usage in code

    XMLWordPrintable

Details

    Description

      There are a few places in the code where we use hard coded numbers rather than macros or known fields for tiered storage.
      First, any place that looks at an object id and compares it with 0 should use WT_TIERED_OBJECTID_NONE. One known location is tiered_handle.c:245.
      Second, any place that walks object ids should not use 1 to start but should use tiered->oldest_id. One known location is schema_drop.c:232.

      Attachments

        Activity

          People

            sue.loverso@mongodb.com Susan LoVerso
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: