[
https://issues.apache.org/jira/browse/HDFS-4578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13604335#comment-13604335
]
Arpit Agarwal commented on HDFS-4578:
-------------------------------------
Hi Aaron,
Limiting the snapshot ID width potentially lets us use the snapshot ID as a
high order bitmask for INode IDs. This guarantees distinct INode IDs for
distinct snapshot instances of the same file. Inode IDs have been proposed
separately in HDFS-4489.
Yes you are right that this is a lifetime limit and the JIRA description is
stale (I have just fixed it).
> Restrict snapshot IDs to 24-bits wide
> -------------------------------------
>
> Key: HDFS-4578
> URL: https://issues.apache.org/jira/browse/HDFS-4578
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: namenode
> Affects Versions: Snapshot (HDFS-2802)
> Reporter: Arpit Agarwal
> Assignee: Arpit Agarwal
> Fix For: Snapshot (HDFS-2802)
>
> Attachments: HDFS-4578.patch, HDFS-4578.patch, HDFS-4578.patch
>
>
> Snapshot IDs will be restricted to 24-bits. This will allow at the most
> ~16Million snapshots globally.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira