Affects Version/s: None
Fix Version/s: 1.6.1
Below exception is thrown when the custom file system is used with first time insert randomly.
IllegalArgumentException("Path belongs to unsupported file system") from FileFactory.getFileType()
DefaultFileTypeProvider.initializeCustomFileProvider is called concurrently insert. Hence one thread got the provider and other thread didn't get as flag is set to true.
so other thread failed as it tried with default provider.
synchronize the initialization of custom file provider