adoroszlai commented on code in PR #7848:
URL: https://github.com/apache/ozone/pull/7848#discussion_r1956412085
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java:
##########
@@ -4136,9 +4137,14 @@ public OzoneConfiguration getConfiguration() {
return configuration;
}
+ public OmConfig getConfig() {
+ return config;
+ }
+
@VisibleForTesting
public void setConfiguration(OzoneConfiguration conf) {
Review Comment:
I'm against adding `synchronized` here and there. It does not make the
object thread-safe without proper design, but can introduce deadlocks.
--
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]