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
petuhovskiy and tristan957 authored Jun 26, 2024
1 parent 5d2f9ff commit 47e5bf3
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

1 comment on commit 47e5bf3

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2998 tests run: 2872 passed, 0 failed, 126 skipped (full report)


Code coverage* (full report)

  • functions: 32.8% (6898 of 21016 functions)
  • lines: 50.3% (53921 of 107177 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
47e5bf3 at 2024-06-26T16:22:34.531Z :recycle:

Please sign in to comment.