raodsgw--s3 client can't display objects with prefix of "_"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi, all
Recently, we use s3 client cyberduck to add some files to RADOS, it
seems doesn't support objects named with prefix of '_'.
eg, if we put a object named "_test"(1 prefix "_") in bucket TEST, it
will store in RADOS in another name  "___test"(3 prefix "_").
      but if we list bucket TEST, it sends op whoes oid is "__test"(2
prefix "_"), result the RADOS return ENOENT err.
we trace the debug log,and found where it comes from:
in  "translate_raw_obj" func of  rgw_common.h,
     if (obj.size() >= 2 && obj[1] == '_') {
          obj = obj.substr(1);
         return true;
      }
 why cut the obj name?
 what is "string ns" in struct rgw_obj doing here? Can't we just use
the origin obj name that passed object_name verfication?

-- 
thanks!
huangjun
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux