Skip to content
This repository

Distributed Blobstore using Couchbase Server

branch: master
Octocat-spinner-32 client client: ignore stale nodes in random node selection December 11, 2013
Octocat-spinner-32 config Report unused parameters more usefully March 21, 2014
Octocat-spinner-32 dist Upload dist with -unsafe July 10, 2013
Octocat-spinner-32 monitor monitor: Don't add a newline before the first word December 22, 2013
Octocat-spinner-32 tools find: fix crash on broken listing response April 17, 2014
Octocat-spinner-32 .gitignore Added a debug data -> seriesly poller. July 03, 2013
Octocat-spinner-32 LICENSE Adding Apache 2.0 license. March 27, 2014
Octocat-spinner-32 README.markdown Update README.markdown November 25, 2013
Octocat-spinner-32 backup.go Something weirded up my imports December 05, 2013
Octocat-spinner-32 blobs.go Fix proxied+stored readcloser + alt close January 22, 2014
Octocat-spinner-32 conf.go Reusing my pubsub code. February 24, 2013
Octocat-spinner-32 database.go go-couchbase client update February 03, 2014
Octocat-spinner-32 debug.go Add memcached expvar section January 15, 2014
Octocat-spinner-32 dns.go Fix for upstream DNS type name change. December 25, 2012
Octocat-spinner-32 export.go Produce a backup stream over http May 22, 2013
Octocat-spinner-32 files.go cleaned up openBlob API January 18, 2014
Octocat-spinner-32 frames.go Use log.std and just optionally attach syslog to it. October 15, 2012
Octocat-spinner-32 freespace_openbsd.go Remove unnecessary/redundant build rules definitions March 07, 2014
Octocat-spinner-32 freespace_unix.go OpenBSD Build fixes June 15, 2013
Octocat-spinner-32 freespace_windows.go Remove unnecessary/redundant build rules definitions March 07, 2014
Octocat-spinner-32 fsck.go Update for couchbase.GetBulk API change September 25, 2013
Octocat-spinner-32 hash.go cleaned up openBlob API January 18, 2014
Octocat-spinner-32 hash_test.go Moved a bunch of params into global config. September 20, 2012
Octocat-spinner-32 heartbeat.go Stick the version in the heartbeat. May 20, 2013
Octocat-spinner-32 heartbeat_test.go Use the RFC3339 time parser instead of RFC3339Nano September 18, 2012
Octocat-spinner-32 http.go simplify error logging+returning slightly January 30, 2014
Octocat-spinner-32 http_api.go go-couchbase API update October 23, 2013
Octocat-spinner-32 http_test.go Adjusted raw URLs to be in a more consistent space. September 17, 2012
Octocat-spinner-32 ioutil.go Though negligible, have geezyReader satisfy ReaderFrom July 05, 2013
Octocat-spinner-32 ioutil_test.go Though negligible, have geezyReader satisfy ReaderFrom July 05, 2013
Octocat-spinner-32 list.go Update for couchbase.GetBulk API change September 25, 2013
Octocat-spinner-32 logging.go Disable time output when using syslog. October 15, 2012
Octocat-spinner-32 logging_windows.go Remove unnecessary/redundant build rules definitions March 07, 2014
Octocat-spinner-32 main.go Added client tracking to server January 20, 2014
Octocat-spinner-32 main_test.go Conditional PUT May 30, 2013
Octocat-spinner-32 namedlock.go Don't do more than one bg fetch for the same blob February 16, 2013
Octocat-spinner-32 namedlock_test.go Don't do more than one bg fetch for the same blob February 16, 2013
Octocat-spinner-32 nodes.go go-couchbase API update February 10, 2014
Octocat-spinner-32 nodes_test.go Don't prefer nodes strictly by heartbeat time. September 22, 2012
Octocat-spinner-32 pathgen.go Don't hang on error transmit on canceled pathgen June 30, 2013
Octocat-spinner-32 registry.go Support for having multiple keys for the nodelist. March 24, 2013
Octocat-spinner-32 registry_test.go Added test for err slicing. March 25, 2013
Octocat-spinner-32 tar.go Set content-disposition headers for tar and zip. July 02, 2013
Octocat-spinner-32 tasks.go Configurable drift warning threshold March 06, 2014
Octocat-spinner-32 timeout.go timeoutConn is a ReaderTo and WriterFrom July 05, 2013
Octocat-spinner-32 zip.go Set content-disposition headers for tar and zip. July 02, 2013
README.markdown

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/

Something went wrong with that request. Please try again.