Skip to content
Snippets Groups Projects
Commit 0a341b40 authored by Glauber Costa's avatar Glauber Costa Committed by Tomasz Grabiec
Browse files

database: try to acquire semaphore before we start flush


As Tomek pointed out, as we are starting the flush before we acquire the
semaphore, we are not really limiting parallelism, but only delaying the
end of the flush instead.

Fixes #1919

[tgrabiec: conflicts]

Signed-off-by: default avatarGlauber Costa <glauber@scylladb.com>
Message-Id: <6cbf9ec2f3a341c76becf94f794cfa16539c5192.1481120410.git.glauber@scylladb.com>
(cherry picked from commit 733d87fc)
parent 182f67cf
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment