You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since we changed the logs batching to always re-trigger a flush upon addition, we can take one step further and eliminate the use of condvars, replacing them with a level-triggered atomic flag. This flag would also replace the current retrigger in the flush loop (reintroducing an explicit producer trigger). The flusher would then not sleep to wait, but use a futex-wait or WaitOnAddress to maintain a timing-based schedule in addition to the producer-side level trigger.