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

Use relaxed semantics for variables related to obsolete time window

    • Storage Engines
    • 3
    • StorEng - Defined Pipeline

      The __wt_heuristic_controls contains the following variables:

          /* Number of btrees processed in the current checkpoint. */
          wt_shared uint32_t obsolete_tw_btree_count;
      
          /* Maximum number of pages that can be processed per btree by checkpoint cleanup. */
          uint32_t checkpoint_cleanup_obsolete_tw_pages_dirty_max;
      
          /* Maximum number of pages that can be processed per btree by eviction. */
          uint32_t eviction_obsolete_tw_pages_dirty_max;
      
          /* Maximum number of btrees that can be processed per checkpoint. */
          uint32_t obsolete_tw_btree_max;
      

      This ticket should look into using __atomic_load and __atomic_store for those variables.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: