RequestIdConflictException
Thrown by RaftNode.propose(command, requestId) when the leader still holds a committed result for that requestId and the retry carries different command bytes (#2923).
A request id names one command. A retry must resend the same bytes, so the leader can hand back the original commit rather than append a second one. Acknowledging changed bytes under a committed id would tell the caller a command committed that never did, so the leader refuses instead. Nothing is appended.
The same type arrives whether the proposing node is the leader or forwarded the proposal to it, so one catch covers both. It is a caller mistake, not a transient failure: do not retry under the same id. It is not a LeadershipLostException, so a retry loop catching that type does not resend it. Draw a fresh id for a new command.
The leader only knows about ids in its committed-result cache, which holds every keyed entry it applies while leading and is dropped when it steps down. So the absence of this exception does not prove an id was never used: after a leader change a reused id with new bytes appends, and a consumer folding ClientSessionTable.shouldApply then skips it as a duplicate.