Project

General

Profile

Bug #46664

client: in _open() the open ref maybe decreased twice, but only increases one time

Added by Xiubo Li over 3 years ago. Updated over 3 years ago.

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

0%

Source:
Development
Tags:
Backport:
octopus,nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Client
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

If the delegation is enabled and when get_caps() fails, it will decrease the open ref, but later at the end of the _open() function, it will decrease it again. But in the _open() there only one place to increase it.


Related issues

Copied to CephFS - Backport #46786: octopus: client: in _open() the open ref maybe decreased twice, but only increases one time Resolved
Copied to CephFS - Backport #46787: nautilus: client: in _open() the open ref maybe decreased twice, but only increases one time Resolved

History

#1 Updated by Xiubo Li over 3 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 36233

#2 Updated by Patrick Donnelly over 3 years ago

  • Source set to Development
  • Backport set to octopus,nautilus
  • ceph-qa-suite deleted (fs)

#3 Updated by Patrick Donnelly over 3 years ago

  • Status changed from Fix Under Review to Pending Backport

#4 Updated by Nathan Cutler over 3 years ago

  • Copied to Backport #46786: octopus: client: in _open() the open ref maybe decreased twice, but only increases one time added

#5 Updated by Nathan Cutler over 3 years ago

  • Copied to Backport #46787: nautilus: client: in _open() the open ref maybe decreased twice, but only increases one time added

#6 Updated by Nathan Cutler over 3 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Also available in: Atom PDF