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
committed by Torsten Grote
parent 00ed6d9bb8
commit e2a894acd3

View File

@@ -525,8 +525,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