diff options
| author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2018-05-02 01:27:12 +0000 |
|---|---|---|
| committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2018-05-02 01:27:12 +0000 |
| commit | 9bb490e4d1fc8cd87ea0db24f93bf555b1f308cf (patch) | |
| tree | 1a246c06bef78a1f57c64201f25868dd6ca4627b /databases/foundationdb/files/patch-fdbserver_TLogServer.actor.cpp | |
| parent | Add foundationdb. (diff) | |
Add foundationdb, yet another distributed database from apple.
Diffstat (limited to 'databases/foundationdb/files/patch-fdbserver_TLogServer.actor.cpp')
| -rw-r--r-- | databases/foundationdb/files/patch-fdbserver_TLogServer.actor.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/foundationdb/files/patch-fdbserver_TLogServer.actor.cpp b/databases/foundationdb/files/patch-fdbserver_TLogServer.actor.cpp new file mode 100644 index 000000000000..73588fb017ef --- /dev/null +++ b/databases/foundationdb/files/patch-fdbserver_TLogServer.actor.cpp @@ -0,0 +1,11 @@ +--- fdbserver/TLogServer.actor.cpp.orig 2018-04-28 15:41:40 UTC ++++ fdbserver/TLogServer.actor.cpp +@@ -425,7 +425,7 @@ struct LogData : NonCopyable, public Ref + tLogData->bytesDurable += bytesInput.getValue() - bytesDurable.getValue(); + TraceEvent("TLogBytesWhenRemoved", tli.id()).detail("sharedBytesInput", tLogData->bytesInput).detail("sharedBytesDurable", tLogData->bytesDurable).detail("localBytesInput", bytesInput.getValue()).detail("localBytesDurable", bytesDurable.getValue()); + +- ASSERT(tLogData->bytesDurable <= tLogData->bytesInput); ++ ASSERT_ABORT(tLogData->bytesDurable <= tLogData->bytesInput); + endRole(tli.id(), "TLog", "Error", true); + + if(!tLogData->terminated) { |
