File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -5853,11 +5853,11 @@ Status DBImpl::IngestExternalFiles(
5853
5853
InstrumentedMutexLock l (&mutex_);
5854
5854
TEST_SYNC_POINT (" DBImpl::AddFile:MutexLock" );
5855
5855
5856
+ WriteThread::Writer w;
5857
+ WriteThread::Writer nonmem_w;
5856
5858
if (!allow_write) {
5857
5859
// Stop writes to the DB by entering both write threads.
5858
- WriteThread::Writer w;
5859
5860
write_thread_.EnterUnbatched (&w, &mutex_);
5860
- WriteThread::Writer nonmem_w;
5861
5861
if (two_write_queues_) {
5862
5862
nonmem_write_thread_.EnterUnbatched (&nonmem_w, &mutex_);
5863
5863
}
@@ -6025,11 +6025,9 @@ Status DBImpl::IngestExternalFiles(
6025
6025
}
6026
6026
6027
6027
if (!allow_write) {
6028
- WriteThread::Writer nonmem_w;
6029
6028
if (two_write_queues_) {
6030
6029
nonmem_write_thread_.ExitUnbatched (&nonmem_w);
6031
6030
}
6032
- WriteThread::Writer w;
6033
6031
write_thread_.ExitUnbatched (&w);
6034
6032
}
6035
6033
You can’t perform that action at this time.
0 commit comments