Logger.minor(this, "Accepted after timeout on "+CHKInsertSender.this+" - will not send DataInsert, waiting for RejectedTimeout");
// We are not going to send the DataInsert.
// We have moved on, and we don't want inserts to fork unnecessarily.
// However, we need to send a DataInsertRejected, or two-stage timeout will happen.
try {
next.sendAsync(DMT.createFNPDataInsertRejected(uid, DMT.DATA_INSERT_REJECTED_TIMEOUT_WAITING_FOR_ACCEPTED), new AsyncMessageCallback() {
@Override
public void sent() {
// Ignore.
if(logDEBUG) Logger.debug(this, "DataInsertRejected sent after accepted timeout on "+CHKInsertSender.this);