Details
Description
Running multiple instance of GSIclient concurrently causes one of them to crash with panic: CBAuth database is stale
Steps to reproduce:
1)Setup a 2i server and build an index.
2)launch an instance of GSIClient from machine1.
3)launch another instance of GSIClient from machine2.
4)The instance on machine1 is crashed.
2015/07/02 13:22:21 revrpc: Got error (EOF) and will retry in 1s
4 panic: CBAuth database is stale: last reason: EOF
github.com/couchbase/cbauth/revrpc.(*DefaultErrorPolicy).try is in sleep state.
Full go stack trace attached.