Hi,
I’m running a POC looking at the Ignite Persistent Store feature.
I have added a section to the configuration for the Ignite grid as follows:
cfg.PersistentStoreConfiguration = new
PersistentStoreConfiguration()
{
PersistentStorePath = PersistentCacheStoreLocation,
WalArchivePath = Path.Combine(PersistentCacheStoreLocation,
"WalArchive"),
WalStorePath = Path.Combine(PersistentCacheStoreLocation,
"WalStore"),
};
When I run the Ignite grid (a single node running locally) it then creates
a folder inside the PersistentCacheStoreLocation with a complicated name,
like this (which looks like a collection of IP addresses and a GUID for
good measure, and perhaps with a port number added to the end):
0_0_0_0_0_0_0_1_10_0_75_1_10_3_72_117_127_0_0_1_192_168_121_1_192_168_178_27_192_168_3_1_2406_e007_9e5_1_9cc8_92bc_50c9_6794_2406_e007_9e5_1_c5d8_af4b_55b2_582a_47500
,
Within that folder are then placed folders containing the content for each
cache in the system
Oddly, if I stop and then restart the grid I sometime get another folder
with a slightly different complicated name, like this:
0_0_0_0_0_0_0_1_10_0_75_1_10_3_72_117_127_0_0_1_192_168_121_1_192_168_178_27_192_168_3_1_2406_e007_9e5_1_a58c_2f32_8005_b03d_2406_e007_9e5_1_c5d8_af4b_55b2_582a_47500
How do I ensure my grid uses the same persistent location each time? There
doesn’t seem anything obvious in the PersistentStoreConfiguration that
relates to this, other than the root location of the folder to store
persisted data.
Thanks,
Raymond.