Skip to content
Distributed Blobstore using Couchbase Server
Go JavaScript HTML Shell
Latest commit f4cd98f Feb 10, 2016 @tleyden tleyden Merge pull request #147 from mshindle/master
move to github.com since code.google.com is shutdown
Failed to load latest commit information.
client Check status code after following redirect Mar 16, 2015
config Report unused parameters more usefully Mar 21, 2014
dist Allow a branch name to be passed as a param Dec 20, 2014
monitor monitor: Don't add a newline before the first word Dec 22, 2013
tools move to github.com since code.google.com is shutdown Feb 10, 2016
.gitignore Added a debug data -> seriesly poller. Jul 3, 2013
LICENSE Adding Apache 2.0 license. Mar 27, 2014
README.markdown Add link to godocs Mar 16, 2015
backup.go * Makes gomemcached consistent Sep 15, 2014
blobs.go sethwklein fix for golang 1.5 Aug 20, 2015
conf.go Reusing my pubsub code. Feb 24, 2013
database.go Updating to new go-couchbase import Mar 11, 2015
debug.go * Makes gomemcached consistent Sep 16, 2014
dns.go Fix for upstream DNS type name change. Dec 25, 2012
export.go Produce a backup stream over http May 22, 2013
files.go fix security issue allow read/delete/limited-write access to server Sep 10, 2014
frames.go Use httputil error functions for client errors May 30, 2014
freespace_openbsd.go Remove unnecessary/redundant build rules definitions Mar 7, 2014
freespace_unix.go OpenBSD Build fixes Jun 15, 2013
freespace_windows.go Remove unnecessary/redundant build rules definitions Mar 8, 2014
fsck.go Update for couchbase.GetBulk API change Sep 25, 2013
hash.go fix security issue allow read/delete/limited-write access to server Sep 10, 2014
hash_test.go fix security issue allow read/delete/limited-write access to server Sep 10, 2014
heartbeat.go Stick the version in the heartbeat. May 20, 2013
heartbeat_test.go Use the RFC3339 time parser instead of RFC3339Nano Sep 18, 2012
http.go #138 - return early if its a redirect Dec 20, 2014
http_api.go Switch gomemcached to couchbase org May 7, 2014
http_test.go Adjusted raw URLs to be in a more consistent space. Sep 17, 2012
ioutil.go Though negligible, have geezyReader satisfy ReaderFrom Jul 5, 2013
ioutil_test.go Though negligible, have geezyReader satisfy ReaderFrom Jul 5, 2013
list.go Update for couchbase.GetBulk API change Sep 26, 2013
logging.go Disable time output when using syslog. Oct 15, 2012
logging_windows.go Remove unnecessary/redundant build rules definitions Mar 8, 2014
main.go * Makes gomemcached consistent Sep 16, 2014
main_test.go Conditional PUT May 30, 2013
namedlock.go Don't do more than one bg fetch for the same blob Feb 16, 2013
namedlock_test.go Don't do more than one bg fetch for the same blob Feb 16, 2013
nodes.go Switch gomemcached to couchbase org May 8, 2014
nodes_test.go Don't prefer nodes strictly by heartbeat time. Sep 22, 2012
pathgen.go Don't hang on error transmit on canceled pathgen Jun 30, 2013
registry.go Support for having multiple keys for the nodelist. Mar 24, 2013
registry_test.go Added test for err slicing. Mar 25, 2013
tar.go Set content-disposition headers for tar and zip. Jul 2, 2013
tasks.go Switch gomemcached to couchbase org May 8, 2014
timeout.go timeoutConn is a ReaderTo and WriterFrom Jul 5, 2013
zip.go Set content-disposition headers for tar and zip. Jul 2, 2013

README.markdown

GoDoc

How do I get the stuff

go get github.com/couchbaselabs/cbfs

And you'll find the source in $GOPATH/src/github.com/couchbaselabs/cbfs (and a cbfs binary should be in your path)

How do I build the stuff

cd $GOPATH/src/pkg/github.com/couchbaselabs/cbfs
go build

How do I run the stuff

mkdir -p /tmp/localdata
./cbfs -nodeID=$mynodeid \
       -bucket=cbfs \
       -couchbase=http://$mycouchbaseserver:8091/
       -root=/tmp/localdata \
       -viewProxy

The server will be empty at this point, you can install the monitor using cbfsclient (go get github.com/couchbaselabs/cbfs/tools/cbfsclient)

cbfsclient http://localhost:8484/ upload \
    $GOPATH/src/github.com/couchbaselabs/cbfs/monitor monitor

Then go to http://localhost:8484/monitor/

Running on Docker / CoreOS

See Traun Leyden's blog post on Running CBFS + Couchbase Cluster on CoreOS.

Something went wrong with that request. Please try again.