[JBoss JIRA] Created: (ISPN-416) GridFS generating OS-dependant cache keys
by Galder Zamarreno (JIRA)
GridFS generating OS-dependant cache keys
-----------------------------------------
Key: ISPN-416
URL: https://jira.jboss.org/jira/browse/ISPN-416
Project: Infinispan
Issue Type: Bug
Affects Versions: 4.1.0.ALPHA3
Reporter: Galder Zamarreno
Assignee: Galder Zamarreno
Fix For: 4.1.0.BETA1
Attachments: mac.log, mc-demos-wins.log
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}]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira