Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0.0
-
None
-
None
Description
As part of SENTRY-1931, we added check not to send two NN snaphsots at the same time. But because of a conditional typo, it results in sending back two snapshots.
// If another paths updates request is in progress by another HDFS NameNode, then we // return an empty image for now to avoid a large memory consumption if (pathsRetrieverBusy.compareAndSet(false, true)) { LOGGER.debug("PATHS updates are not available because another request is in progress."); return Collections.emptyList(); }
Attachments
Attachments
Issue Links
- is duplicated by
-
SENTRY-1945 getPathsUpdatesFrom() got its boolean logic inversed
- Resolved