fateh288 commented on code in PR #664:
URL: https://github.com/apache/ranger/pull/664#discussion_r2345344337
##########
tagsync/src/main/java/org/apache/ranger/tagsync/sink/tagadmin/TagAdminRESTSink.java:
##########
@@ -180,6 +180,18 @@ public void run() {
return;
}
+ } else {
+ // Only sleep when HA is enabled, similar to user sync
+ if (TagSyncConfig.getInstance().isTagSyncHAEnabled()) {
Review Comment:
I think there are multiple states in the enum :
```
public enum ServiceStateValue {
ACTIVE, PASSIVE, BECOMING_ACTIVE, BECOMING_PASSIVE, MIGRATING
}
```
I think what @mneethiraj might be correct that another method may not be
required
@dineshkumar-yadav -- what do you think -- can the state be non active even
in non HA mode ?
--
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]