Project

General

Profile

Backport #17908

Updated by Nathan Cutler over 7 years ago

https://github.com/ceph/ceph/pull/11990 when we get the stat of a bucket with swift stat bucket api, the response element "X-Timestamp" is zero, i.e. 

 ``` 
 [root@c7 weiqm]# swift stat my-bucket-3 
                       Account: v1 
                     Container: my-bucket-3 
                       Objects: 0 
                         Bytes: 0 
                      Read ACL: 
                     Write ACL: 
                       Sync To: 
                      Sync Key: 
                 Accept-Ranges: bytes 
              X-Storage-Policy: default-placement 
 X-Container-Bytes-Used-Actual: 0 
                   X-Timestamp: 0.00000 
                    X-Trans-Id: tx00000000000000000000f-00577a3762-31d43-default 
                  Content-Type: text/plain; charset=utf-8 
 ```

Back