Compare commits
2 Commits
eaad0c69a7
...
c7e2358746
Author | SHA1 | Date | |
---|---|---|---|
c7e2358746 | |||
ec1c1cf43f |
@@ -5128,9 +5128,6 @@ struct __attribute__((visibility("hidden"))) ConflictSet::Impl {
|
|||||||
assert(writeContext.accum.entries_erased == 0);
|
assert(writeContext.accum.entries_erased == 0);
|
||||||
assert(writeContext.accum.entries_inserted == 0);
|
assert(writeContext.accum.entries_inserted == 0);
|
||||||
|
|
||||||
// Queue up some gc work just for (potentially) increasing the version
|
|
||||||
++keyUpdates;
|
|
||||||
|
|
||||||
if (oldestExtantVersion < writeVersion - kMaxCorrectVersionWindow)
|
if (oldestExtantVersion < writeVersion - kMaxCorrectVersionWindow)
|
||||||
[[unlikely]] {
|
[[unlikely]] {
|
||||||
if (writeVersion > newestVersionFullPrecision + kNominalVersionWindow) {
|
if (writeVersion > newestVersionFullPrecision + kNominalVersionWindow) {
|
||||||
@@ -5187,10 +5184,11 @@ struct __attribute__((visibility("hidden"))) ConflictSet::Impl {
|
|||||||
|
|
||||||
writeContext.releaseDeferred();
|
writeContext.releaseDeferred();
|
||||||
|
|
||||||
// Run gc at least 200% the rate we're inserting entries
|
// Run gc at least 200% the rate we're inserting entries, and at least run
|
||||||
|
// some gc just for potentially increasing the version.
|
||||||
keyUpdates += std::max<int64_t>(writeContext.accum.entries_inserted -
|
keyUpdates += std::max<int64_t>(writeContext.accum.entries_inserted -
|
||||||
writeContext.accum.entries_erased,
|
writeContext.accum.entries_erased,
|
||||||
0) *
|
1) *
|
||||||
2;
|
2;
|
||||||
|
|
||||||
point_writes_total.add(writeContext.accum.point_writes);
|
point_writes_total.add(writeContext.accum.point_writes);
|
||||||
|
@@ -5,6 +5,7 @@ __stack_chk_guard@GLIBC_2.17
|
|||||||
abort@GLIBC_2.17
|
abort@GLIBC_2.17
|
||||||
free@GLIBC_2.17
|
free@GLIBC_2.17
|
||||||
malloc@GLIBC_2.17
|
malloc@GLIBC_2.17
|
||||||
|
memcmp@GLIBC_2.17
|
||||||
memcpy@GLIBC_2.17
|
memcpy@GLIBC_2.17
|
||||||
memmove@GLIBC_2.17
|
memmove@GLIBC_2.17
|
||||||
memset@GLIBC_2.17
|
memset@GLIBC_2.17
|
Reference in New Issue
Block a user