[
https://issues.apache.org/jira/browse/HDDS-1963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chung En Lee updated HDDS-1963:
-------------------------------
Target Version/s: 2.2.0 (was: 1.2.0)
2.2.0 (was: 2.1.0)
<<Bulk update>>
Apache Ozone 2.1.0 release is in progress. I'm updating all unresolved jiras
targeting 2.1.0 to retarget 2.2.0.
> OM DB Schema defintion in OmMetadataManagerImpl and OzoneConsts are not
> consistent
> ----------------------------------------------------------------------------------
>
> Key: HDDS-1963
> URL: https://issues.apache.org/jira/browse/HDDS-1963
> Project: Apache Ozone
> Issue Type: Improvement
> Reporter: Sammi Chen
> Priority: Major
>
> OzoneConsts.java
> * OM DB Schema:
> * ----------------------------------------------------------
> * | KEY | VALUE |
> * ----------------------------------------------------------
> * | $userName | VolumeList |
> * ----------------------------------------------------------
> * | /#volumeName | VolumeInfo |
> * ----------------------------------------------------------
> * | /#volumeName/#bucketName | BucketInfo |
> * ----------------------------------------------------------
> * | /volumeName/bucketName/keyName | KeyInfo |
> * ----------------------------------------------------------
> * | #deleting#/volumeName/bucketName/keyName | KeyInfo |
> * ----------------------------------------------------------
> OmMetadataManagerImpl.java
> /**
> * OM RocksDB Structure .
> * <p>
> * OM DB stores metadata as KV pairs in different column families.
> * <p>
> * OM DB Schema:
> * |-------------------------------------------------------------------|
> * | Column Family | VALUE |
> * |-------------------------------------------------------------------|
> * | userTable | user->VolumeList |
> * |-------------------------------------------------------------------|
> * | volumeTable | /volume->VolumeInfo |
> * |-------------------------------------------------------------------|
> * | bucketTable | /volume/bucket-> BucketInfo |
> * |-------------------------------------------------------------------|
> * | keyTable | /volumeName/bucketName/keyName->KeyInfo |
> * |-------------------------------------------------------------------|
> * | deletedTable | /volumeName/bucketName/keyName->KeyInfo |
> * |-------------------------------------------------------------------|
> * | openKey | /volumeName/bucketName/keyName/id->KeyInfo |
> * |-------------------------------------------------------------------|
> * | s3Table | s3BucketName -> /volumeName/bucketName |
> * |-------------------------------------------------------------------|
> * | s3SecretTable | s3g_access_key_id -> s3Secret |
> * |-------------------------------------------------------------------|
> * | dTokenTable | s3g_access_key_id -> s3Secret |
> * |-------------------------------------------------------------------|
> * | prefixInfoTable | prefix -> PrefixInfo |
> * |-------------------------------------------------------------------|
> */
> It's better to put OM DB Schema defintion in one place to resolve this
> inconsistency due to information redundancy.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]