Skip to content

Commit 57c4e16

Browse files
committed
nvmeofgw*: change log level of critical nvmeof monitor events to 1
Signed-off-by: Leonid Chernin <leonidc@il.ibm.com>
1 parent 893a9bd commit 57c4e16

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/mon/NVMeofGwMon.cc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ void NVMeofGwMon::tick()
8888
// This case handles either local slowness (calls being delayed
8989
// for whatever reason) or cluster election slowness (a long gap
9090
// between calls while an election happened)
91-
dout(10) << ": resetting beacon timeouts due to mon delay "
91+
dout(4) << ": resetting beacon timeouts due to mon delay "
9292
"(slow election?) of " << now - last_tick << " seconds" << dendl;
9393
for (auto &i : last_beacon) {
9494
i.second = now;
@@ -110,7 +110,7 @@ void NVMeofGwMon::tick()
110110
auto& lb = itr.first;
111111
auto last_beacon_time = itr.second;
112112
if (last_beacon_time < cutoff) {
113-
dout(10) << "beacon timeout for GW " << lb.gw_id << dendl;
113+
dout(1) << "beacon timeout for GW " << lb.gw_id << dendl;
114114
pending_map.process_gw_map_gw_down(lb.gw_id, lb.group_key, propose);
115115
_propose_pending |= propose;
116116
last_beacon.erase(lb);
@@ -544,13 +544,13 @@ bool NVMeofGwMon::prepare_beacon(MonOpRequestRef op)
544544
<< map.created_gws << dendl;
545545
goto set_propose;
546546
} else {
547-
dout(10) << "GW prepares the full startup " << gw_id
547+
dout(4) << "GW prepares the full startup " << gw_id
548548
<< " GW availability: "
549549
<< pending_map.created_gws[group_key][gw_id].availability
550550
<< dendl;
551551
if (pending_map.created_gws[group_key][gw_id].availability ==
552552
gw_availability_t::GW_AVAILABLE) {
553-
dout(4) << " Warning :GW marked as Available in the NVmeofGwMon "
553+
dout(1) << " Warning :GW marked as Available in the NVmeofGwMon "
554554
<< "database, performed full startup - Apply GW!"
555555
<< gw_id << dendl;
556556
pending_map.handle_gw_performing_fast_reboot(gw_id, group_key, propose);
@@ -578,7 +578,7 @@ bool NVMeofGwMon::prepare_beacon(MonOpRequestRef op)
578578
ack_map.created_gws[group_key][gw_id] =
579579
pending_map.created_gws[group_key][gw_id];
580580
ack_map.epoch = map.epoch;
581-
dout(4) << " Force gw to exit: Sending ack_map to GW: "
581+
dout(1) << " Force gw to exit: Sending ack_map to GW: "
582582
<< gw_id << dendl;
583583
auto msg = make_message<MNVMeofGwMap>(ack_map);
584584
mon.send_reply(op, msg.detach());

0 commit comments

Comments
 (0)