Project

General

Profile

Actions

Bug #56533

closed

Bluefs might put an orpan op_update record in the log

Added by Igor Fedotov almost 2 years ago. Updated 9 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
backport_processed
Backport:
quincy, pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

This has been originally revealed in Octopus when recycle_log_file_num is set to 0. See https://tracker.ceph.com/issues/55636

In that case RocksDB might issue a weird op sequence on WAL file:
- h = open_for_write(f)
..
- add some data
...
- unlink(f)
- flush(h)
- close(h)
...
As a result relevant file has got op_update record following op_unlink one in BlueFS log.
Which causes either false positive in allocations' check during log replay or file link counting check's failure on replay completion.


Related issues 3 (0 open3 closed)

Related to bluestore - Bug #55636: octopus: osd-bluefs-volume-ops.sh: TEST_bluestore2 fails with "FAILED ceph_assert(r == 0)"ResolvedAdam Kupczyk

Actions
Copied to bluestore - Backport #57027: pacific: Bluefs might put an orpan op_update record in the logResolvedActions
Copied to bluestore - Backport #57028: quincy: Bluefs might put an orpan op_update record in the logResolvedActions
Actions #1

Updated by Igor Fedotov almost 2 years ago

  • Status changed from New to In Progress
  • Assignee set to Igor Fedotov
  • Backport set to quincy, pacific, octopus
Actions #2

Updated by Igor Fedotov almost 2 years ago

  • Related to Bug #55636: octopus: osd-bluefs-volume-ops.sh: TEST_bluestore2 fails with "FAILED ceph_assert(r == 0)" added
Actions #3

Updated by Igor Fedotov almost 2 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 47065
Actions #4

Updated by Igor Fedotov over 1 year ago

  • Status changed from Fix Under Review to Pending Backport
Actions #5

Updated by Igor Fedotov over 1 year ago

  • Backport changed from quincy, pacific, octopus to quincy, pacific
Actions #6

Updated by Backport Bot over 1 year ago

  • Copied to Backport #57027: pacific: Bluefs might put an orpan op_update record in the log added
Actions #7

Updated by Backport Bot over 1 year ago

  • Copied to Backport #57028: quincy: Bluefs might put an orpan op_update record in the log added
Actions #8

Updated by Backport Bot over 1 year ago

  • Tags set to backport_processed
Actions #9

Updated by Igor Fedotov 9 months ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF