-
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