You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hans@chromium.org
80e5b0d944
sync with upstream @21706995
...
Fixed race condition reported by Dave Smit (dizzyd@dizzyd,com)
on the leveldb mailing list. We were not signalling
waiters after a trivial move from level-0. The result was
that in some cases (hard to reproduce), a write would get
stuck forever waiting for the number of level-0 files to drop
below its hard limit.
The new code is simpler: there is just one condition variable
instead of two, and the condition variable is signalled after
every piece of background work finishes. Also, all compaction
work (including for manual compactions) is done in the
background thread, and therefore we can remove the
"compacting_" variable.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@31 62dab493-f737-651d-591e-8d6aee1b9529
14 years ago
..
builder.cc
@20776309
14 years ago
builder.h
@20776309
14 years ago
corruption_test.cc
@20776309
14 years ago
db_bench.cc
Update from upstream @21551990
14 years ago
db_impl.cc
sync with upstream @21706995
14 years ago
db_impl.h
sync with upstream @21706995
14 years ago
db_iter.cc
@20776309
14 years ago
db_iter.h
reverting disastrous MOE commit, returning to r21
14 years ago
db_test.cc
Update from upstream @21551990
14 years ago
dbformat.cc
@20776309
14 years ago
dbformat.h
sync with upstream @ 21409451
14 years ago
dbformat_test.cc
@20776309
14 years ago
filename.cc
@20776309
14 years ago
filename.h
@20776309
14 years ago
filename_test.cc
@20776309
14 years ago
log_format.h
reverting disastrous MOE commit, returning to r21
14 years ago
log_reader.cc
sync with upstream @ 21409451
14 years ago
log_reader.h
sync with upstream @ 21409451
14 years ago
log_test.cc
Update from upstream @21551990
14 years ago
log_writer.cc
sync with upstream @ 21409451
14 years ago
log_writer.h
reverting disastrous MOE commit, returning to r21
14 years ago
memtable.cc
Update from upstream @21551990
14 years ago
memtable.h
sync with upstream @ 21409451
14 years ago
repair.cc
sync with upstream @ 21409451
14 years ago
skiplist.h
reverting disastrous MOE commit, returning to r21
14 years ago
skiplist_test.cc
reverting disastrous MOE commit, returning to r21
14 years ago
snapshot.h
sync with upstream @ 21409451
14 years ago
table_cache.cc
reverting disastrous MOE commit, returning to r21
14 years ago
table_cache.h
reverting disastrous MOE commit, returning to r21
14 years ago
version_edit.cc
@20776309
14 years ago
version_edit.h
@20776309
14 years ago
version_edit_test.cc
@20776309
14 years ago
version_set.cc
sync with upstream @ 21409451
14 years ago
version_set.h
sync with upstream @ 21409451
14 years ago
write_batch.cc
sync with upstream @ 21409451
14 years ago
write_batch_internal.h
sync with upstream @ 21409451
14 years ago
write_batch_test.cc
sync with upstream @ 21409451
14 years ago