Skip to content

octopus: bluestore, common/options.cc: disable bluefs_preextend_wal_files - #35293

Closed
neha-ojha wants to merge 1 commit into
ceph:octopusfrom
neha-ojha:wip-bfs-wal-octopus
Closed

neha-ojha wants to merge 1 commit into
ceph:octopusfrom
neha-ojha:wip-bfs-wal-octopus

Conversation

@neha-ojha

Copy link
Copy Markdown
Member

This is a temporary fix for https://tracker.ceph.com/issues/45613
to avoid WAL corruption because of enabling bluefs_preextend_wal_files
and bluefs_buffered_io together.

Fixes: https://tracker.ceph.com/issues/45613
Signed-off-by: Neha Ojha [email protected]

@markhpc
markhpc self-requested a review May 28, 2020 15:07

@markhpc markhpc left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think this is the right move. Perhaps will have an impact on performance in some corner cases though not necessarily for longer running tests.

@ifed01
ifed01 requested a review from aclamk May 28, 2020 15:39
@ifed01

ifed01 commented May 28, 2020

Copy link
Copy Markdown
Contributor

@aclamk - would be nice to get your feedback on this 'undo' since you probably was longer in touch with preextended wals....

@neha-ojha

Copy link
Copy Markdown
Member Author

retest this please

@neha-ojha neha-ojha added this to the octopus milestone May 29, 2020
@aclamk

aclamk commented May 29, 2020

Copy link
Copy Markdown
Contributor

@ifed01 @markhpc @jdurgin How about actually removing this feature?

@aclamk aclamk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I love it.
More over, I would like to actually delete this feature from our code.
There is no real benefit, as RocksDB reuses WAL files; so only speed benefit will happen until WALs fill up for the first time.

@ifed01

ifed01 commented May 29, 2020

Copy link
Copy Markdown
Contributor

There is no real benefit, as RocksDB reuses WAL files; so only speed benefit will happen until WALs fill up for the first time.

+1 to remove totally in master. Just performed smoke benchmarking - WAL preextending showed no saving...

@jdurgin

jdurgin commented May 29, 2020

Copy link
Copy Markdown
Member

I agree, no reason to keep it 👍

@markhpc

markhpc commented May 29, 2020

Copy link
Copy Markdown
Member

I agree, I never liked this option/code in the first place. At the least it should have been hidden behind our dangerous options flag. Getting rid of it simplifies the code and avoids a lot of headaches.

@neha-ojha

Copy link
Copy Markdown
Member Author

@jdurgin
jdurgin changed the base branch from octopus to octopus-saved May 30, 2020 00:32
@jdurgin
jdurgin changed the base branch from octopus-saved to octopus May 30, 2020 00:32
@jdurgin

jdurgin commented May 30, 2020

Copy link
Copy Markdown
Member

merged in 15.2.3

@jdurgin jdurgin closed this May 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants