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: Glauber Costa <glauber@scylladb.com> Message-Id: <6cbf9ec2f3a341c76becf94f794cfa16539c5192.1481120410.git.glauber@scylladb.com> (cherry picked from commit 733d87fc)
Loading
Please register or sign in to comment