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
vor 13 Jahren
dgrogan@chromium.org
c4f5514948
sync with upstream @21627589
Minor changes:
* Reformat the bodies of the iterator interface routines in IteratorWrapper to
make them a bit easier to read
* Switched the default in the leveldb makefile to be optimized mode, rather
than debug mode
* Fix build problem in chromium port
git-svn-id: https://leveldb.googlecode.com/svn/trunk@30 62dab493-f737-651d-591e-8d6aee1b9529
vor 13 Jahren
dgrogan@chromium.org
740d8b3d00
Update from upstream @21551990
* Patch LevelDB to build for OSX and iOS
* Fix race condition in memtable iterator deletion.
* Other small fixes.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@29 62dab493-f737-651d-591e-8d6aee1b9529
vor 13 Jahren
dgrogan@chromium.org
da79909507
sync with upstream @ 21409451
Check the NEWS file for details of what changed.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@28 62dab493-f737-651d-591e-8d6aee1b9529
vor 13 Jahren
dgrogan@chromium.org
3c111335a7
make windows include /Iport\win in dependent projects
git-svn-id: https://leveldb.googlecode.com/svn/trunk@27 62dab493-f737-651d-591e-8d6aee1b9529
vor 13 Jahren
dgrogan@chromium.org
be9f061d2f
pull in hans' mac build fix
git-svn-id: https://leveldb.googlecode.com/svn/trunk@26 62dab493-f737-651d-591e-8d6aee1b9529
vor 13 Jahren
dgrogan@chromium.org
ccb2cbef3a
fix build on at least linux
git-svn-id: https://leveldb.googlecode.com/svn/trunk@25 62dab493-f737-651d-591e-8d6aee1b9529
vor 13 Jahren
dgrogan@chromium.org
ba6dac0e80
@20776309
* env_chromium.cc should not export symbols.
* Fix MSVC warnings.
* Removed large value support.
* Fix broken reference to documentation file
git-svn-id: https://leveldb.googlecode.com/svn/trunk@24 62dab493-f737-651d-591e-8d6aee1b9529
vor 13 Jahren
dgrogan@chromium.org
69c6d38342
reverting disastrous MOE commit, returning to r21
git-svn-id: https://leveldb.googlecode.com/svn/trunk@23 62dab493-f737-651d-591e-8d6aee1b9529
vor 13 Jahren
dgrogan@chromium.org
b743906eea
Revision created by MOE tool push_codebase.
vor 13 Jahren
dgrogan@chromium.org
b409afe968
chmod a-x
git-svn-id: https://leveldb.googlecode.com/svn/trunk@21 62dab493-f737-651d-591e-8d6aee1b9529
vor 13 Jahren
dgrogan@chromium.org
f779e7a5d8
@20602303 . Default file permission is now 755.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@20 62dab493-f737-651d-591e-8d6aee1b9529
vor 13 Jahren
jorlow@chromium.org
9e33808a26
Fix last commit
git-svn-id: https://leveldb.googlecode.com/svn/trunk@19 62dab493-f737-651d-591e-8d6aee1b9529
vor 13 Jahren
jorlow@chromium.org
4671a695fc
Move include files into a leveldb subdir.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@18 62dab493-f737-651d-591e-8d6aee1b9529
vor 13 Jahren
jorlow@chromium.org
4d66fd5af3
Upstream change.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@17 62dab493-f737-651d-591e-8d6aee1b9529
vor 13 Jahren
jorlow@chromium.org
e2da744e12
Upstream changes.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@16 62dab493-f737-651d-591e-8d6aee1b9529
vor 13 Jahren
jorlow@chromium.org
e11bdf1935
Upstream changes
git-svn-id: https://leveldb.googlecode.com/svn/trunk@15 62dab493-f737-651d-591e-8d6aee1b9529
vor 13 Jahren
jorlow@chromium.org
8303bb1b33
Pull from upstream.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@14 62dab493-f737-651d-591e-8d6aee1b9529
vor 13 Jahren
jorlow@chromium.org
6d243ebf79
Make GetTestDirectory threadsafe within Chromium and make it work on Windows.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@13 62dab493-f737-651d-591e-8d6aee1b9529
vor 13 Jahren
jorlow@chromium.org
13b72af77b
More changes from upstream.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@12 62dab493-f737-651d-591e-8d6aee1b9529
vor 13 Jahren
gabor@google.com
9df5aa892e
Removing unneeded build files
git-svn-id: https://leveldb.googlecode.com/svn/trunk@11 62dab493-f737-651d-591e-8d6aee1b9529
vor 13 Jahren
jorlow@chromium.org
4bcb231187
more upstream changes
git-svn-id: https://leveldb.googlecode.com/svn/trunk@10 62dab493-f737-651d-591e-8d6aee1b9529
vor 13 Jahren
jorlow@chromium.org
0e38925490
Sync in bug fixes
git-svn-id: https://leveldb.googlecode.com/svn/trunk@9 62dab493-f737-651d-591e-8d6aee1b9529
vor 13 Jahren
jorlow@chromium.org
24ba614869
Changes to get Snappy working
git-svn-id: https://leveldb.googlecode.com/svn/trunk@8 62dab493-f737-651d-591e-8d6aee1b9529
vor 13 Jahren
jorlow@chromium.org
795dd1d550
Oops, another file that didn't upload correctly.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@7 62dab493-f737-651d-591e-8d6aee1b9529
vor 13 Jahren
hans@chromium.org
b77de951b8
Set mime-type to text/css on doc/doc.css files.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@6 62dab493-f737-651d-591e-8d6aee1b9529
vor 13 Jahren
hans@chromium.org
b434018d63
Set mime-type to text/html on .html files.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@5 62dab493-f737-651d-591e-8d6aee1b9529
vor 13 Jahren
jorlow@chromium.org
7a02caf2a4
Fix typo in Makefile.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@4 62dab493-f737-651d-591e-8d6aee1b9529
vor 13 Jahren
jorlow@chromium.org
347d4628c1
Directory paths were off a bit.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@3 62dab493-f737-651d-591e-8d6aee1b9529
vor 13 Jahren
jorlow@chromium.org
f67e15e50f
Initial checkin.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@2 62dab493-f737-651d-591e-8d6aee1b9529
vor 13 Jahren
(no author)
54f1fd7eef
Initial directory structure.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@1 62dab493-f737-651d-591e-8d6aee1b9529
vor 14 Jahren