Update release notes

This commit is contained in:
Jingyu Zhou 2020-11-29 14:16:10 -08:00
parent da55d73885
commit 6bf1e5f3f9
2 changed files with 6 additions and 1 deletions

View File

@ -8,6 +8,7 @@ Release Notes
======
* Fix invalid memory access on data distributor when snapshotting large clusters. `(PR #4076) <https://github.com/apple/foundationdb/pull/4076>`_
* Add human-readable DateTime to trace events `(PR #4087) <https://github.com/apple/foundationdb/pull/4087>`_
* Proxy rejects transaction batch that exceeds MVCC window `(PR #4113) <https://github.com/apple/foundationdb/pull/4113>`_
6.2.28
======

View File

@ -633,7 +633,10 @@ ACTOR Future<Void> commitBatch(
trs.size() > 0 && !trs[0].transaction.mutations.empty() && !trs[0].transaction.mutations[0].param1.startsWith(LiteralStringRef("\xff"))) {
// Disabled for the recovery transaction. otherwise, recovery can't finish and keeps doing more recoveries.
TEST(true); // Reject transactions in the batch
TraceEvent("ProxyReject", self->dbgid).detail("Delay", queuingDelay).detail("N", trs.size()).detail("BatchNumber", localBatchNumber);
TraceEvent(SevWarnAlways, "ProxyReject", self->dbgid)
.detail("QDelay", queuingDelay)
.detail("Transactions", trs.size())
.detail("BatchNumber", localBatchNumber);
ASSERT(self->latestLocalCommitBatchResolving.get() == localBatchNumber - 1);
self->latestLocalCommitBatchResolving.set(localBatchNumber);
@ -644,6 +647,7 @@ ACTOR Future<Void> commitBatch(
tr.reply.sendError(not_committed());
}
++self->stats.commitBatchOut;
self->stats.txnConflicts += trs.size();
return Void();
}