-
Bug
-
Resolution: Done
-
Major
-
4.1.0.ALPHA3
-
None
-
None
-
Low
GridFS is not dealing well with the fact that File separator character varies from Windows to Unix/Linux. On a Windows machine, the key generated by GridFS uses '\', i.e.:
JBoss-MC-Demo TRACE [30-04-2010 16:12:04] InvocationContextInterceptor - Invoked with command PutKeyValueCommand
{key=movies\bond.iso, value=file, len=0b, chunk_size=8000, mod_time=Fri Apr 30 16:12:04 CEST 2010, putIfAbsent=false, lifespanMillis=-1, maxIdleTimeMillis=-1}and InvocationContext [NonTxInvocationContext
{flags=[FORCE_SYNCHRONOUS]}]
Whereas a Unix/Linux machine generates keys with '/', ie:
JBoss-MC-Demo TRACE [30-04-2010 16:12:51] InvocationContextInterceptor - Invoked with command GetKeyValueCommand
{key=movies/bond.iso}and InvocationContext [NonTxInvocationContext
{flags=null}]