Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Distributed Blobstore using Couchbase Server
Go JavaScript HTML Shell

Merge pull request #146 from andrewwebber/master

sethwklein fix for golang 1.5
latest commit a7d01fcef7
@tleyden tleyden authored
Failed to load latest commit information.
client Check status code after following redirect
config Report unused parameters more usefully
dist Allow a branch name to be passed as a param
monitor monitor: Don't add a newline before the first word
tools sethwklein fix for golang 1.5
.gitignore Added a debug data -> seriesly poller.
LICENSE Adding Apache 2.0 license.
README.markdown Add link to godocs
backup.go * Makes gomemcached consistent
blobs.go sethwklein fix for golang 1.5
conf.go Reusing my pubsub code.
database.go Updating to new go-couchbase import
debug.go * Makes gomemcached consistent
dns.go Fix for upstream DNS type name change.
export.go Produce a backup stream over http
files.go fix security issue allow read/delete/limited-write access to server
frames.go Use httputil error functions for client errors
freespace_openbsd.go Remove unnecessary/redundant build rules definitions
freespace_unix.go OpenBSD Build fixes
freespace_windows.go Remove unnecessary/redundant build rules definitions
fsck.go Update for couchbase.GetBulk API change
hash.go fix security issue allow read/delete/limited-write access to server
hash_test.go fix security issue allow read/delete/limited-write access to server
heartbeat.go Stick the version in the heartbeat.
heartbeat_test.go Use the RFC3339 time parser instead of RFC3339Nano
http.go #138 - return early if its a redirect
http_api.go Switch gomemcached to couchbase org
http_test.go Adjusted raw URLs to be in a more consistent space.
ioutil.go Though negligible, have geezyReader satisfy ReaderFrom
ioutil_test.go Though negligible, have geezyReader satisfy ReaderFrom
list.go Update for couchbase.GetBulk API change
logging.go Disable time output when using syslog.
logging_windows.go Remove unnecessary/redundant build rules definitions
main.go * Makes gomemcached consistent
main_test.go Conditional PUT
namedlock.go Don't do more than one bg fetch for the same blob
namedlock_test.go Don't do more than one bg fetch for the same blob
nodes.go Switch gomemcached to couchbase org
nodes_test.go Don't prefer nodes strictly by heartbeat time.
pathgen.go Don't hang on error transmit on canceled pathgen
registry.go Support for having multiple keys for the nodelist.
registry_test.go Added test for err slicing.
tar.go Set content-disposition headers for tar and zip.
tasks.go Switch gomemcached to couchbase org
timeout.go timeoutConn is a ReaderTo and WriterFrom
zip.go Set content-disposition headers for tar and zip.

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.