// Flush returns when every write before the call is durable.
func (s *Syncer) Flush(ctx context.Context) error {
s.mutex.Lock()
// Flush returns when every write before the call is durable.
func (s *Syncer) Flush(ctx context.Context) error {
s.mutex.Lock()