couchbaselabs / cbfs

Distributed Blobstore using Couchbase Server
http://dustin.github.com/2012/09/27/cbfs.html
Apache License 2.0
188 stars 40 forks source link

Client seems to mangle uploads. (maybe) #127

Closed n1rvana closed 11 years ago

n1rvana commented 11 years ago

Attempting to upload the cbfs-admin files with this command: cbfsclient http://localhost:8484/ upload ./cbfs-admin/ admin

resulted in concatenating the subdirectory names with the admin name.

EG: I now have files like this: (output of /.cbfs/fsck/) {"path":"admins/bootstrap.js","oid":"c1298688025d804f69c98cdcfed4764153de05ad","reps":1} {"path":"admins/cbfs-browser.js","oid":"f21e099c9c6f6fdb7dd3eededd647ac5a75967f2","reps":1}

where admin/js/boostrap.js has somehow become admins/bootstrap.js.

I hypothesize that the issue here is I'm on a mac and somehow the / is being parsed as removing a character.

I'm running the version of cbfs, and cbfs-client that is currently on the cbfs projects page: http://cbfs-ext.hq.couchbase.com/dist/ (which, having now backtracked, I see I got to by following the downloads link at labs.couchbase.com... so maybe this is a way out of date version of cbfs.)

ns-codereview commented 11 years ago

Issue has been moved to http://cbugg.hq.couchbase.com/bug/bug-848