Re: Force flush of IGFS to secondary file system in DUAL_ASYNC mode

2018-01-10 Thread Juan Rodríguez Hortalá
Hi llya, Thanks a lot for the detailed answer. It's nice to know there is a clear path to achieve that flush. Greetings, Juan On Mon, Jan 8, 2018 at 4:33 AM, ilya.kasnacheev wrote: > Hello! > > After reviewing IGFS code, I think that you can do the following: > > You should save all file path

Re: Force flush of IGFS to secondary file system in DUAL_ASYNC mode

2018-01-08 Thread ilya.kasnacheev
Hello! After reviewing IGFS code, I think that you can do the following: You should save all file paths that are being migrated, and then call await(collectionWithAllFilePaths) on IgfsImpl. If it's a huge number of files, I imagine you can do this in batches. It will do the same synchronous wait

Force flush of IGFS to secondary file system in DUAL_ASYNC mode

2018-01-05 Thread Juan Rodríguez Hortalá
Hi, When using IGFS with a secondary file system, with write behind configured by using DUAL_ASYNC IgfsMode, is there any way to force the flush of the data from the Ignite caches into the secondary file system? A possible scenario here might be a temporary cluster with Ignite installed, that uses