apple / apple/foundationdb

Split/Merge thrashing in DD - correctness failure

Open
#7,371 1 comment 0 reactions 1 assignee Claimed by @sfc-gh-bvr View on GitHub
bug data distribution
Dominant language
C++
Stars
16.7k
Forks
1.6k
Avg merge
1d 20h
Merged PRs (30d)
126

Description

Commit `058f44a4a` on branch granule_merging in my fork

bin/fdbserver -r simulation -f tests/fast/BlobGranuleVerifySmallClean.toml -s 694415653 -b on --crash --trace_format json

Test timed out due to DD + SQ not quiescing

Instrumented all SS mutations at test end: 100% of writes are serverKeys, keyServers, and moveKeysLock for performing moves

Looks like thrashing split/merge:
(with PRINTABLE_COMPRESS_NULLS enabled for the long keys)

1590.6814) SPLIT (2):
\x02[7292]
\xff
\xff\xff
1591.331) MERGE:
\x02[7292]
\xff\xff
1591.3459) SPLIT (2):
\x02[7292]
\xff
\xff\xff
1591.990) MERGE:
\x02[7292]
\xff\xff
1592.0012) SPLIT (2):
\x02[7292]
\xff
\xff\xff
1604.5795) SPLIT (2):
\xff
\xff/
\xff\xff
1604.581) MERGE:
\x02[7292]
\xff/
1627.409) MERGE:
\x02[7292]
\xff\xff
1627.4227) SPLIT (2):
\x02[7292]
\xff
\xff\xff
1628.065) MERGE:
\x02[7292]
\xff\xff
1628.0751) SPLIT (2):
\x02[7292]
\xff
\xff\xff
1643.9458) SPLIT (2):
\xff
\xff/
\xff\xff
1643.949) MERGE:
\x02[7292]
\xff/

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.