Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osd: bluestore: fix bluestore_wal_transaction_t encoding test #7168

Merged
merged 1 commit into from Jan 11, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/os/bluestore/bluestore_types.h
Expand Up @@ -279,7 +279,7 @@ WRITE_CLASS_ENCODER(bluestore_wal_op_t)

/// writeahead-logged transaction
struct bluestore_wal_transaction_t {
uint64_t seq;
uint64_t seq = 0;
Copy link
Member

Choose a reason for hiding this comment

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

is this a c++11-ism that lets you initialize things this way?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

list<bluestore_wal_op_t> ops;
interval_set<uint64_t> released; ///< allocations to release after wal

Expand Down