跳转到主内容

GETコンテナがオブジェクトをリストアップするときのソート順序は何ですか。

Views:
Visibility:
Public
Votes:
0
Category:
storagegrid-webscale
Specialty:
sgrid
Last Updated:

環境

StorageGRID

回答

キーのデータ型は、 UTF8でエンコードされた文字列であるため、 (S3またはSwiftに関係なく)GETコンテナの出力は UTF8エンコードに従って順序付けされます。

ndyz@ubuntu-1:~$ curl -X GET -H 'X-Auth-Token:SGRD_fa2b7e8b2a4b4dea9379bc070bdd1875' https://10.128.231.111:18083/v1/79910314025223200905/container1 -k
*0object2
.o
.object2
0object2
1001
1002
1003
1004
1098
1099
1100
=object2
o
o bject2
o*bject2
o,bject2
o-bject2
o.bject2
o0bject2
o1bject2
o=bject2
o@bject2
o^bject2
o_bject2
ob@ject2
object2
testfile
testfile2

ひらかな
中文
日本語

追加情報

AdditionalInformation_Text

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.