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

Align background compaction terminology

    • 2
    • StorEng - Defined Pipeline

      This ticket needs to make sure we are using "background" instead of "bg" or any other abbreviation in the code base.

      Furthermore, in the "conn_compact.c" file, we should make sure to add the "background" prefix to all functions. For instance:

      __compact_server_run_chk
      # Becomes
      __background_compact_server_run_chk
      

      In test/format, we have background_compact and background_compact.free_space_target but we have ops.compaction and compact.free_space_target which could seem weird. Why is one called "compaction" and the other "compact" while we are referring to the same operation? We should make sure to avoid confusion.

      Finally, the macros present in the conn_compact.c file should be checked again so they contain the prefix "BACKGROUND_COMPACT".

            Assignee:
            etienne.petrel@mongodb.com Etienne Petrel
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: