You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by "nizhikov (via GitHub)" <gi...@apache.org> on 2023/09/18 11:57:01 UTC
[GitHub] [ignite] nizhikov commented on a diff in pull request #10936: IGNITE-19950 Creation of cache dump implemented
nizhikov commented on code in PR #10936:
URL: https://github.com/apache/ignite/pull/10936#discussion_r1328614464
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridLocalConfigManager.java:
##########
@@ -541,8 +541,12 @@ private boolean inMemoryCdcCache(CacheConfiguration<?, ?> cfg) {
public File cacheConfigurationFile(CacheConfiguration<?, ?> ccfg) {
File cacheWorkDir = cacheWorkDir(ccfg);
- return ccfg.getGroupName() == null ? new File(cacheWorkDir, CACHE_DATA_FILENAME) :
- new File(cacheWorkDir, ccfg.getName() + CACHE_DATA_FILENAME);
+ return new File(cacheWorkDir, cachDataFilename(ccfg));
+ }
+
+ /** @return Name of cache data filename. */
+ public static String cachDataFilename(CacheConfiguration<?, ?> ccfg) {
Review Comment:
Fixed
--
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: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org