Actions
Feature #55608
openUse swap for deferred_stable when not bluefs_layout.single_shared_device() in _kv_sync_thread
Status:
Fix Under Review
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Description
When bluefs_layout.single_shared_device() is false and deferred_done is not empty, the deferred_stable_queue is always empty which make deferred_stable empty also.
So we can use swap instead of insert when insert key of deferred_done to deferred_stable.
Actions