Skip to content

tentacle: os/bluestore: fix vselector update after enveloped WAL recovery#67333

Merged
batrick merged 6 commits intoceph:tentaclefrom
ifed01:wip-ifed-fix-vselector-in-envmode_index_file-tent
Feb 26, 2026
Merged

tentacle: os/bluestore: fix vselector update after enveloped WAL recovery#67333
batrick merged 6 commits intoceph:tentaclefrom
ifed01:wip-ifed-fix-vselector-in-envmode_index_file-tent

Conversation

@ifed01
Copy link
Copy Markdown
Contributor

@ifed01 ifed01 commented Feb 12, 2026

This PR is already contains fix from #67208
It is enough to merge this one.

Fixes: https://tracker.ceph.com/issues/74732
Fixes: https://tracker.ceph.com/issues/74882
Backport of #67312
Backport of #66512

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

@ifed01 ifed01 requested a review from aclamk February 12, 2026 15:55
@github-actions
Copy link
Copy Markdown

Config Diff Tool Output

+ added: bluefs_check_volume_selector_on_mount (global.yaml.in)
- removed: bluefs_check_volume_selector_on_umount (global.yaml.in)
! changed: bluefs_check_volume_selector_often: old: ['bluefs_check_volume_selector_on_umount'] (global.yaml.in)
! changed: bluefs_check_volume_selector_often: new: ['bluefs_check_volume_selector_on_mount'] (global.yaml.in)

The above configuration changes are found in the PR. Please update the relevant release documentation if necessary.
Ignore this comment if docs are already updated. To make the "Check ceph config changes" CI check pass, please comment /config check ok and re-run the test.

@ifed01 ifed01 force-pushed the wip-ifed-fix-vselector-in-envmode_index_file-tent branch from 54f4fb3 to 6edbe04 Compare February 13, 2026 10:52
@github-actions github-actions bot added this to the tentacle milestone Feb 13, 2026
@ifed01
Copy link
Copy Markdown
Contributor Author

ifed01 commented Feb 18, 2026

jenkins test make check

aclamk and others added 6 commits February 19, 2026 18:37
After indexing WAL envelope files update of actual file size was
forgotten. Strangely, it does not affect RocksDB WAL recovery procedure.

Fixes: https://tracker.ceph.com/issues/74091

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit 5a13df1)
… setting.

This is bluefs_check_volume_selector_on_mount now and enables volume
selector validation on both mount and umount.

Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit 777783f)
We'll need it from test_bluefs.cc and hence better move out of
BlueStore.cc to not expose it for the tests.

Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit 42b25e5)
recovering WAL in envelope mode.

Reproduces: https://tracker.ceph.com/issues/74765

Exact bug reproduction (which occurs on file removal) requires
'bluefs_check_volume_selector_on_mount' to be set manually to false
in 'wal_v2_simulate_crash' test case.
That's not the case for the default implementation which fails volume selector
validation at earlier stage during BlueFS mount.
This seems a general approach which provides better test coverage.

Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit e65564e)
envelope mode.

Fixes: https://tracker.ceph.com/issues/74765
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit 7807e11)
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit 03ef619)
@ifed01 ifed01 force-pushed the wip-ifed-fix-vselector-in-envmode_index_file-tent branch from 6edbe04 to 6535621 Compare February 19, 2026 15:41
@batrick
Copy link
Copy Markdown
Member

batrick commented Feb 19, 2026

/config check ok

@Jayaprakash-ibm
Copy link
Copy Markdown
Contributor

@ifed01
Copy link
Copy Markdown
Contributor Author

ifed01 commented Feb 26, 2026

@batrick - ready to merge

@batrick batrick merged commit 5bdf667 into ceph:tentacle Feb 26, 2026
15 of 17 checks passed
@github-actions
Copy link
Copy Markdown

This is an automated message by src/script/redmine-upkeep.py.

I have resolved the following tracker ticket due to the merge of this PR:

No backports are pending for the ticket. If this is incorrect, please update the tracker
ticket and reset to Pending Backport state.

Update Log: https://github.com/ceph/ceph/actions/runs/22445112394

@github-actions
Copy link
Copy Markdown

        This is an automated message by src/script/redmine-upkeep.py.

        I found one or more `Fixes:` tags in the commit messages in

        `git log 5bdf66753b1ce93f72433aea9d5481a647d75bc1^..5bdf66753b1ce93f72433aea9d5481a647d75bc1`

        The referenced tickets are:

        * https://tracker.ceph.com/issues/74091
  • https://tracker.ceph.com/issues/74765

          Those tickets do not reference this merged Pull Request. If this Pull Request merge resolves any of those tickets, please update the "Pull Request ID" field on each ticket. A future run of this script will appropriately update them.
    
    
          Update Log: https://github.com/ceph/ceph/actions/runs/22445112394
    

@ifed01 ifed01 deleted the wip-ifed-fix-vselector-in-envmode_index_file-tent branch February 26, 2026 15:29
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