Project

General

Profile

Actions

Bug #16188

closed

rgw: Swift API returns double space usage and objects of account metadata

Added by Albert Tu almost 8 years ago. Updated over 7 years ago.

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

0%

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

Description

When user upload file and run `stat` command, rgw returns correct account metadata immediately.

StorageURL: http://192.168.62.50:8080/swift/v1
Auth Token: AUTH_rgwtk0b0000006d656c6f6e3a7377696674da9bd854682bd73095e75857cd14fb39bd80bae4fc7af565839cdd2075b34cef4bdaff71
Account: v1
Containers: 1
Objects: 1
Bytes: 10M
Connection: Keep-Alive
X-Timestamp: 1465357845.97638
X-Account-Bytes-Used-Actual: 10485760
X-Trans-Id: tx000000000000000000077-0057579615-5e32-default
Content-Type: text/plain; charset=utf-8
Accept-Ranges: bytes

But after a few mintues rgw returns double space usage and objects of account metadata.
StorageURL: http://192.168.62.50:8080/swift/v1
Auth Token: AUTH_rgwtk0b0000006d656c6f6e3a7377696674258a5e645be0252461e85857b32bf422ce1df90fff606d86a86798d2b89ab4fff626a0fe
Account: v1
Containers: 1
Objects: 2
Bytes: 20M
Connection: Keep-Alive
X-Timestamp: 1465358049.58936
X-Account-Bytes-Used-Actual: 20971520
X-Trans-Id: tx000000000000000000079-00575796e1-5e32-default
Content-Type: text/plain; charset=utf-8
Accept-Ranges: bytes

Related issues 1 (0 open1 closed)

Copied to rgw - Backport #16599: jewel: rgw: Swift API returns double space usage and objects of account metadataResolvedNathan CutlerActions
Actions

Also available in: Atom PDF