Project

General

Profile

Feature #1008

filestore: handle long object names

Added by Sage Weil almost 13 years ago. Updated almost 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
OSD
Target version:
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

extN and btrfs both limit filenames to 255 characters, but we want to store object names that are much longer than that. Plus we add _<snapid> to the end of our object names.

Introduce some additional naming rules in os/FileStore so that long names are translated into something shorter (sha hash of long name?) with the full name stored as an xattr. This should be completely hidden behind the FileStore/ObjectStore interface, which means things like readdir and {get,list}xattr need extra smarts.


Related issues

Blocks rgw - Bug #985: radosgw listing keys of a bucket with name >=251 characters fails with NoSuchKey Resolved 04/05/2011

History

#1 Updated by Sage Weil almost 13 years ago

  • translation missing: en.field_position set to 1

#2 Updated by Greg Farnum almost 13 years ago

  • Assignee set to Yehuda Sadeh

#3 Updated by Yehuda Sadeh almost 13 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF