Add atomic variable for checking if the truncate list is empty

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines - Foundations
    • 3,114.804
    • None
    • None

      Problem:
      In most truncate list operations we are obtaining locks. It may be possible to improve performance by returning early if the list is empty, ideally without increasing lock contention.

      Definition of Done:

      • Add an atomic way to check that the list is empty
      • Return early from operations that don't make sense if the list is empty

            Assignee:
            Unassigned
            Reporter:
            Krishen Chovhan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: