This is an automated email from the ASF dual-hosted git repository.
avijayan pushed a commit to branch HDDS-3698-nonrolling-upgrade
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/HDDS-3698-nonrolling-upgrade
by this push:
new 3221362 Update upgrade-dev-primer.md
3221362 is described below
commit 3221362bed95337a9f000d3b86d38217d870aa03
Author: avijayanhwx <[email protected]>
AuthorDate: Wed Apr 21 14:35:23 2021 -0700
Update upgrade-dev-primer.md
---
hadoop-hdds/docs/content/design/upgrade-dev-primer.md | 3 +++
1 file changed, 3 insertions(+)
diff --git a/hadoop-hdds/docs/content/design/upgrade-dev-primer.md
b/hadoop-hdds/docs/content/design/upgrade-dev-primer.md
index de160ea..dee44cf 100644
--- a/hadoop-hdds/docs/content/design/upgrade-dev-primer.md
+++ b/hadoop-hdds/docs/content/design/upgrade-dev-primer.md
@@ -41,6 +41,9 @@ Class to add a new layout feature being brought in. Layout
version is typically
org.apache.hadoop.hdds.upgrade.HDDSLayoutVersionManager
Every component carries an instance of this interface, which provides APIs to
get runtime layout version, and if a feature is allowed based on that or not.
+The LayoutVersionManager interface carries an API that can be used to check if
a feature is allowed in the current layout version.
+
org.apache.hadoop.ozone.upgrade.LayoutVersionManager#isAllowed(org.apache.hadoop.ozone.upgrade.LayoutFeature)
+
## @DisallowedUntilLayoutVersion Annotation
Method level annotation used to "disallow" an API if current layout version
does not include the associated layout feature. Currently it is added only to
the OM module, but can easily be moved down to a common module based on need on
the HDDS layer.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]