Skip to content

Commit

Permalink
Merge pull request #17792 from amitkumar50/cov-misc-5
Browse files Browse the repository at this point in the history
messages,journal: Initialization of stats_period,m_active_set

Reviewed-by: Sage Weil <sage@redhat.com>
  • Loading branch information
tchaikov committed Nov 22, 2017
2 parents 80da199 + 1993725 commit 1a390bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/journal/JournalPlayer.h
Expand Up @@ -119,7 +119,7 @@ class JournalPlayer {
bool m_commit_position_valid = false;
ObjectPosition m_commit_position;
SplayedObjectPositions m_commit_positions;
uint64_t m_active_set;
uint64_t m_active_set = 0;

boost::optional<uint64_t> m_active_tag_tid = boost::none;
boost::optional<uint64_t> m_prune_tag_tid = boost::none;
Expand Down
2 changes: 1 addition & 1 deletion src/messages/MMgrConfigure.h
Expand Up @@ -27,7 +27,7 @@ class MMgrConfigure : public Message
static const int COMPAT_VERSION = 1;

public:
uint32_t stats_period;
uint32_t stats_period = 0;

// Default 0 means if unspecified will include all stats
uint32_t stats_threshold = 0;
Expand Down

0 comments on commit 1a390bf

Please sign in to comment.