Get timestamp for abort message in same way as other messages.

This commit is contained in:
akwizgran
2020-12-02 11:55:52 +00:00
parent ae41e1f780
commit 238512e9bf

View File

@@ -523,8 +523,7 @@ class IntroducerProtocolEngine
IntroducerSession s, AbortMessage m) throws DbException {
// Forward ABORT message
Introducee i = getOtherIntroducee(s, m.getGroupId());
long localTimestamp = max(i.getLocalTimestamp(),
s.getRequestTimestamp()) + 1;
long localTimestamp = getLocalTimestamp(txn, s, i);
Message sent = sendAbortMessage(txn, i, localTimestamp);
// Broadcast abort event for testing