smengcl opened a new pull request #3051:
URL: https://github.com/apache/ozone/pull/3051


   ## What changes were proposed in this pull request?
   
   Note we are already using `VOLUME_LOCK` for all write requests. It has been 
done in a previous jira.
   
   Just need to acquire the read lock in the appropriate read tenant db table 
requests.
   
   (Basically just look for all access to these tables and work backwards:)
   
   ```java
     // OMMetadataManager
   
     Table<String, OmDBAccessIdInfo> getTenantAccessIdTable();
   
     Table<String, OmDBKerberosPrincipalInfo> getPrincipalToAccessIdsTable();
   
     Table<String, OmDBTenantInfo> getTenantStateTable();
   
     Table<String, String> getTenantGroupTable();
   
     Table<String, String> getTenantRoleTable();
   
     Table<String, String> getTenantPolicyTable();
   ```
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-6063
   
   ## How was this patch tested?
   
   - All existing tests should pass (after 
[HDDS-6239](https://issues.apache.org/jira/browse/HDDS-6239)).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to