Skip to content

quota: implement protocols specific return codes #7842

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 8, 2025
Merged

Conversation

DmitryLitvintsev
Copy link
Member

Motivation:

When quota was introduced, proper exception handling was not added to the doors other than NFS door - an oversight. As the result over quota condition tiggers generic exception handling even though some protocols provide for specific return codes in this case.

Modification:

Handle quota exceeded exception in all doors with the exception of DCap door.

Result:

Protocol compliant return codes on quota exceeded exception

Ticket: #7747
Patch: https://rb.dcache.org/r/14476/
Acked-by: Paul, Tigran

Target: trunk
Request: 11.0
Request: 10.2
Request: 10.1
Request: 10.0
Request: 9.2

Require-bool: no
Require-notes: yes

Motivation:
----------

When quota was introduced, proper exception handling was not
added to the doors other than NFS door - an oversight. As
the result over quota condition tiggers generic exception handling
even though some protocols provide for specific return
codes in this case.

Modification:
------------

Handle quota exceeded exception in all doors with the exception
of DCap door.

Result:
-------

Protocol compliant return codes on quota exceeded exception

Ticket: #7747
Patch:  https://rb.dcache.org/r/14476/
Acked-by: Paul, Tigran

Target: trunk
Request: 11.0
Request: 10.2
Request: 10.1
Request: 10.0
Request: 9.2

Require-bool: no
Require-notes: yes
@mksahakyan mksahakyan merged commit a0640e8 into 9.2 Jul 8, 2025
2 checks passed
@mksahakyan mksahakyan deleted the 14476/9.2 branch July 8, 2025 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants