Project

General

Profile

Bug #52001

libcephsqlite: CheckReservedLock the result will always be zero

Added by Shuai Wang over 1 year ago. Updated 6 months ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Target version:
% Done:

0%

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

Description

This method is used to check if the file holds reserved lock or above. But the result is always set to zero no matter what the current locking status is.

if (lock > SQLITE_LOCK_SHARED) {
    *result = 1;
  }

  df(10);
  f->io.rs->print_lockers(*_dout);
  *_dout << dendl;

  *result = 0;


Related issues

Copied to cephsqlite - Backport #52247: pacific: libcephsqlite: CheckReservedLock the result will always be zero New

History

#1 Updated by Patrick Donnelly over 1 year ago

  • Project changed from CephFS to cephsqlite
  • Status changed from New to Triaged
  • Assignee set to Shuai Wang
  • Target version set to v17.0.0
  • Source set to Development
  • Backport set to pacific

#2 Updated by Patrick Donnelly over 1 year ago

  • Status changed from Triaged to Fix Under Review
  • Pull request ID set to 42630

#4 Updated by Neha Ojha over 1 year ago

  • Status changed from Fix Under Review to Pending Backport

#5 Updated by Backport Bot over 1 year ago

  • Copied to Backport #52247: pacific: libcephsqlite: CheckReservedLock the result will always be zero added

#6 Updated by Backport Bot 6 months ago

  • Tags set to backport_processed

Also available in: Atom PDF