Skip to contentSkip to conversation

rename object

DISCUSSION Andrew Hume 2 participants 2 messages Mar 4, 2013

lore
Share & tools
lore
#0 lore raw

i want to rename an object (at the RADOS level).
i see no API for that, although the gateway API has a copy object.

is there any (efficient) way to rename an object?

#1 lore raw
Quoted 5 lines · Andrew Hume

i want to rename an object (at the RADOS level).
i see no API for that, although the gateway API has a copy object.

is there any (efficient) way to rename an object?

Objects location is determined by their names (with one unrelated exception). Therefore, you can't atomically do a rename operation, as they would most likely need to be relocated to a different placement group.

Yehuda