Skip to content

Commit 67ed9b0

Browse files
committed
Reduce some debugging output in DTMD.
1 parent 5e77b79 commit 67ed9b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contrib/pg_dtm/dtmd/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@ int main(int argc, char **argv) {
905905
if (use_raft) {
906906
int applied = raft_apply(&raft, apply_clog_update);
907907
if (applied) {
908-
shout("applied %d updates\n", applied);
908+
debug("applied %d updates\n", applied);
909909
}
910910

911911
if (m) {

contrib/pg_dtm/dtmd/src/raft.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ bool raft_emit(raft_t *r, int action, int argument) {
339339
if (r->log.size == RAFT_LOGLEN) {
340340
int compacted = raft_log_compact(&r->log, RAFT_KEEP_APPLIED);
341341
if (compacted > 1) {
342-
shout("compacted %d entries\n", compacted);
342+
debug("compacted %d entries\n", compacted);
343343
} else {
344344
shout(
345345
"cannot emit new entries, the log is"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy