npawar commented on a change in pull request #7967:
URL: https://github.com/apache/pinot/pull/7967#discussion_r776818496
##########
File path:
pinot-segment-spi/src/main/java/org/apache/pinot/segment/spi/loader/SegmentDirectoryLoaderRegistry.java
##########
@@ -37,14 +41,28 @@
*/
public class SegmentDirectoryLoaderRegistry {
private static final Logger LOGGER =
LoggerFactory.getLogger(SegmentDirectoryLoaderRegistry.class);
-
public static final String DEFAULT_SEGMENT_DIRECTORY_LOADER_NAME = "default";
- private static final Map<String, SegmentDirectoryLoader>
SEGMENT_DIRECTORY_LOADER_MAP = new HashMap<>();
+ private static final Map<String, SegmentDirectoryLoader>
SEGMENT_DIRECTORY_LOADER_MAP = new ConcurrentHashMap<>();
Review comment:
done
--
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]