Skip to contentSkip to conversation

cherry-pick 7adc6c08f14 for stable branch

DISCUSSION Danny Kukawka 2 participants 2 messages Aug 14, 2012

lore
Share & tools
lore
#0 lore raw

Hi,

could you please cherry-pick:
---------------
commit 7adc6c08f1474806c83ef6c89e8752d6cfd35bfd

Author: Sage Weil <[email protected]>
Date:   Mon Jul 9 17:24:19 2012 -0700

mon: simplify logmonitor check_subs; less noise

* simple helper to translate name to id
* verify sub type is valid in caller
* assert sub type is valid in method
* simplify iterator usage

Among other things, this gets rid of this noise in the logs:

2012-07-10 20:51:42.617152 7facb23f1700 1 mon.a@1(peon).log v310
check_sub sub monmap not log type

---------------

from master to the stable branch?

Thanks!

Danny

#1 lore raw
Quoted 17 lines · Danny Kukawka

Hi,

could you please cherry-pick:
---------------
commit 7adc6c08f1474806c83ef6c89e8752d6cfd35bfd

Author: Sage Weil <[email protected]>
Date:   Mon Jul 9 17:24:19 2012 -0700

mon: simplify logmonitor check_subs; less noise

* simple helper to translate name to id
* verify sub type is valid in caller
* assert sub type is valid in method
* simplify iterator usage

Among other things, this gets rid of this noise in the logs:

Quoted 7 lines

2012-07-10 20:51:42.617152 7facb23f1700 1 mon.a@1(peon).log v310
check_sub sub monmap not log type

---------------

from master to the stable branch?

No problem. I just tagged and built 0.48.1, but I'll put this into stable for 0.48.2.

sage

Quoted 6 lines

Thanks!

Danny