Skip to content

Commit

Permalink
Improve term reject message in walproposer (#8164)
Browse files Browse the repository at this point in the history
Co-authored-by: Tristan Partin <tristan@neon.tech>
  • Loading branch information
2 people authored and conradludgate committed Jun 27, 2024
1 parent 5c9372a commit a126827
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pgxn/neon/walproposer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit a126827

Please sign in to comment.