apple / foundationdb

FoundationDB - the open source, distributed, transactional key-value store

Home Page:https://apple.github.io/foundationdb/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simulation failure - assertion failure in checkpoint

sfc-gh-jslocum opened this issue · comments

bin/fdbserver -r simulation -f tests/rare/BlobGranuleRanges.toml -s 194789141 -b on --crash --trace_format json

on commit 60d62ec from PR #9833

A subset of the stack trace returned by addr2line:

(inlined by) internal_error_impl(char const*, char const*, int) at /mnt/ephemeral/jslocum/buildcop/flow/Error.cpp:66
Optional<Standalone<StringRef>>::get() const & at /mnt/ephemeral/jslocum/buildcop/flow/include/flow/Optional.h:214
 (inlined by) (anonymous namespace)::ApplyMetadataMutationsImpl::checkSetCheckpointKeys(MutationRef) at /mnt/ephemeral/jslocum/buildcop/fdbserver/ApplyMetadataMutation.cpp:624
 (inlined by) (anonymous namespace)::ApplyMetadataMutationsImpl::apply() at /mnt/ephemeral/jslocum/buildcop/fdbserver/ApplyMetadataMutation.cpp:1321

Points to this being a race in ApplyMetadataMutations between a checkpoint mutation happening and the txn state store initializing its ss metadata on the line
Tag tag = decodeServerTagValue(txnStateStore->readValue(serverTagKeyFor(ssID)).get().get());

Can this be closed?