Project

Profile

Help

Task #1600

Updated by bmbouter over 4 years ago

Store content using consistent and deterministic paths. In 2.8, the platform determines the _storage_path (with some help from plugins). It determines the path using the UUID as:

<pre>
/var/lib/pulp/content/units/<type_id>/<unit_id>[0:4]/<unit_id>/<file> /var/lib/pulp/content/units/<type_id>/unit_id[0:4]/unit_id/<file>
</pre>

To support recovery scenarios, using the hash of unit_key instead of unit_id will be required. This makes the storage path deterministic.

Suggested:

<pre>
/var/lib/pulp/content/units/<type_id>/<hash>[0:4]/<hash>/<file> /var/lib/pulp/content/units/<type_id>/hash[0:4]/hash/<file>
</pre>

Back