Improve term reject message in walproposer (#8164)

Co-authored-by: Tristan Partin <tristan@neon.tech>
This commit is contained in:
Arthur Petukhovsky
2024-06-26 15:26:52 +01:00
committed by GitHub
parent 5d2f9ffa89
commit 47e5bf3bbb

View File

@@ -1447,7 +1447,7 @@ RecvAppendResponses(Safekeeper *sk)
* core as this is kinda expected scenario.
*/
disable_core_dump();
wp_log(PANIC, "WAL acceptor %s:%s with term " INT64_FORMAT " rejected our request, our term " INT64_FORMAT "",
wp_log(PANIC, "WAL acceptor %s:%s with term " INT64_FORMAT " rejected our request, our term " INT64_FORMAT ", meaning another compute is running at the same time, and it conflicts with us",
sk->host, sk->port,
sk->appendResponse.term, wp->propTerm);
}