[
https://issues.apache.org/jira/browse/HDFS-4578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13604032#comment-13604032
]
Aaron T. Myers commented on HDFS-4578:
--------------------------------------
Two quick questions:
# What's the purpose of limiting snapshot IDs to 24-bits? Unless I'm missing
something, they're still going to be stored both in-memory and on-disk using 4
bytes, so it seems like a strictly artificial limitation.
# Is the description of this JIRA accurate that this will only be a limit "at a
given time" ? I was under the impression that the snapshot ID referenced here
doesn't ever reuse IDs, which means that this limit would be for the lifetime
of the file system.
> 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 at a given time.
--
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