Repository navigation
Conversation
|
jenkins test make check |
|
Both CI failures look environmental, same missing boost 1.82 in the build container — make check: |
c9eb0c5 to
a35c80d
Compare
Yeah, makes sense indeed. Thanks for pointing out! |
|
jenkins test make check |
|
jenkins test windows |
|
This PR has been added to wip-bharath26-testing-20260924.011509-squid. |
If we happen to shutdown with dirty.pending_releases, after mount we will most likely want to free them. And its an error - they will already be free. Signed-off-by: Adam Kupczyk <[email protected]> (cherry picked from commit 09fd806)
…irty.lock _extend_log() bumps dirty.seq_live after _flush_and_sync_log_LD() has already released dirty.lock. A file that a concurrent _signal_dirty_to_log_D() registers under the pre-bump seq_live is stranded: _consume_dirty() does an exact find(seq) and never visits that bucket, and _clear_dirty_set_stable_D() later erases it while marking the file clean. The file's op_file_update_inc never reaches the journal even though fsync() returned success; after a restart, replay reconstructs a stale fnode and RocksDB reports 'Corruption: file is too short ... to be an sstable'. Introduced by e97aa85 ("os/bluestore: fix bluefs log runway enospc"), first released in v19.0.0; Reef is unaffected. Fix by keeping all seq_live updates under dirty.lock: - split _maybe_extend_log() into _need_extend_log() and _extend_log(); - _flush_and_sync_log_LD() reserves a dedicated seq for the extension transaction atomically with its own seq advance, so no fsync can ever register a file under it; _extend_log() only steps log.t.seq; - the async-compaction site no longer extends the log itself; if the runway is short it flushes the log first, which extends it as a side effect. Fixes: https://tracker.ceph.com/issues/79068 Signed-off-by: Ming Lei <[email protected]> (cherry picked from commit 2499b4a)
_extend_log() waits out log_forbidden_to_expand after its caller has already advanced/reserved log seqs. The wait releases log.lock, so a concurrent flusher can enter and trip the log.t.seq == log.seq_live assert in _log_advance_seq(); without that assert it would flush the shared log.t under later seqs and the parked seqs would be appended out of order, which replay silently treats as end-of-log. Restore the wait-before-reservation design of 08cf6d0 ("os/bluestore/bluefs: Split single bluefs lock into multiple smaller locks"): _flush_and_sync_log_LD() composes log.t first and, only when the transaction needs to extend the log while expansion is forbidden, parks on log_cond with no seq reserved, re-evaluating from scratch on wakeup - re-consuming is safe because already-consumed files re-encode as empty deltas. _extend_log()'s wait becomes an assert: the flag is only set under log.lock, which the caller now holds from the check onward. Flushers that fit the runway never wait, so flush vs async compaction concurrency is unchanged. _flush_and_sync_log_LD() now holds log.lock through a single unique_lock: the wait uses the predicate form of condition_variable::wait(), and the early return and the post-flush release fall out of RAII instead of explicit unlock calls. Fixes: e97aa85 ("os/bluestore: fix bluefs log runway enospc") Signed-off-by: Ming Lei <[email protected]> (cherry picked from commit adf1141)
Signed-off-by: Igro Fedotov <[email protected]> (cherry picked from commit e8914db)
Signed-off-by: Igor Fedotov <[email protected]> (cherry picked from commit aa95664)
a35c80d to
0d14d50
Compare
There was a problem hiding this comment.
Ceph Release Engineering Audit Report
Automated Redmine Linkage Audit
The following tracking irregularities were found:
- Orphaned Main PR: Could not find a Redmine tracker for
mainPR #62224. Please create a ticket, set its 'Pull Request ID', populate the 'Backport' field, and ensure it is in the 'Pending Backport' state.
Automated Backport Parity Review
Discrepancies detected between the backport PR and the original source PR(s). Please see the Commit Parity Visualizer below.
Commit Parity Visualizer
| BACKPORT PR #71592 | SOURCE PR |
SOURCE STATUS |
|---|---|---|
| <<<< MISSING IN BACKPORT >>>> | PR #62224 | 18968bc os/bluestore: Introduce custom format of BlueFS file - WAL |
| <<<< MISSING IN BACKPORT >>>> | 90bf207 os/bluestore: test bluefs wal v2 | |
| <<<< MISSING IN BACKPORT >>>> | 35c1d4a buffer.h: Add empty constructor to contigous_filler | |
| <<<< MISSING IN BACKPORT >>>> | d1703dc os/bluestore: Refactor of WAL-v2 BlueFS | |
| <<<< MISSING IN BACKPORT >>>> | 167bba6 include/encoding.h: Remove unused FILLER macros | |
| <<<< MISSING IN BACKPORT >>>> | 8cdf4fb os/bluestore: Get rid of unused FileReader's "random" | |
| <<<< MISSING IN BACKPORT >>>> | db452e6 test/unittest_bluefs: Bunch of tests for wal_v2 | |
| 595e18a os/bluestore/bluefs: Clear pending releases | 09fd806 os/bluestore/bluefs: Clear pending releases | |
| <<<< MISSING IN BACKPORT >>>> | f6ef7b5 test/objectstore: Fix unittest for truncation | |
| <<<< MISSING IN BACKPORT >>>> | f0b0526 os/bluestore: bluestore tool downgrade-wal-to-v1 command | |
| <<<< MISSING IN BACKPORT >>>> | 7265bde os/bluestore: document downgrade-wal-to-v1 | |
| <<<< MISSING IN BACKPORT >>>> | 4fb2e03 os/bluestore: Simplify downgrade-wal-to-v1 | |
| <<<< MISSING IN BACKPORT >>>> | 24ec5c7 os/bluestore: Make wal_v2 selection more robust | |
| <<<< MISSING IN BACKPORT >>>> | c065abc test/bluefs: Disable check_wal_v2 feature on jenkins | |
| <<<< MISSING IN BACKPORT >>>> | 613ff6c os/bluestore: Generalize WAL_v2 => envelope_mode | |
| <<<< MISSING IN BACKPORT >>>> | 7631716 tests/objectstore/bluefs_tests: Adapted to transition "WALv2"=>envelope_mode | |
| <<<< MISSING IN BACKPORT >>>> | 11f9a67 common/denc.h: Introduce DENC_START_UNCHECKED | |
| <<<< MISSING IN BACKPORT >>>> | 014528d os/bluestore: Rename downgrade_wal_to_v1 => revert_wal_to_plain | |
| 9c6a1f7 os/bluestore/BlueFS: reserve the log-extension seq before releasing dirty.lock | PR #70892 | 2499b4a os/bluestore/BlueFS: reserve the log-extension seq before releasing dirty.lock |
| ac32152 os/bluestore: wait out log compaction before reserving BlueFS log seqs | adf1141 os/bluestore: wait out log compaction before reserving BlueFS log seqs | |
| bc89aaa os/bluestore: cleanup bluefs_transaction_t data member manipulations | e8914db os/bluestore: cleanup bluefs_transaction_t data member manipulations | |
| 0d14d50 os/bluestore: cleanup around BlueFS log sequence manipulation | aa95664 os/bluestore: cleanup around BlueFS log sequence manipulation |
🛟 Need Help?
If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.
📋 Component Lead / Release Manager
To override the audit failure, apply releng-audit-override label or comment /audit override.
When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.
|
✅ Audit Override Applied by @batrick. |
aclamk
left a comment
There was a problem hiding this comment.
Looks good, but its big. Needs testing.


Parent tracker: https://tracker.ceph.com/issues/79068
Backport tracker: https://tracker.ceph.com/issues/79833
Backports: 09fd806 This is an additional commit backport which originally lacks proper ticket but still worth having in squid. Plus not having it causes a backporting conflict . Hence bringing it in here.
Backports: #70892
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
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.