Simplify CollectionCatalog::write()

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • Storage Execution 2025-05-26
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None

      This function puts significant effort into reducing copies made of the CollectionCatalog when multiple threads call write() concurrently. At the time this was written it made sense, as copying CollectionCatalog was an O(N) operation that performed a deep copy of all of the catalog data. Today, however, it's an O(1) operation that merely increments some refcounts and the job queue is pure overhead.

            Assignee:
            Thomas Goyne
            Reporter:
            Thomas Goyne
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: