Distinguishing Replica TAP messages

4 views
Skip to first unread message

Gareth

unread,
Sep 5, 2013, 11:47:23 AM9/5/13
to couchba...@googlegroups.com
As I listen to a TAP stream on a "production replica", I'm hearing everything in stereo; on my machine I just hear it once.

I'm assuming that what's happening is that both the original node and the replica are letting me in on their updates, but I don't seem to be able to distinguish them.

For my application, I would like to ignore all the replica messages.  Is this possible with the Java SDK?  If so, how?

Gareth

Matt Ingenthron

unread,
Sep 5, 2013, 11:59:44 AM9/5/13
to couchba...@googlegroups.com
Yes, it's possible.  The current 1.1.9 does this by default.  It filters data only from active vbuckets, not replicas.

Which SDK are you using currently?

Matt

-- 
Matt Ingenthron
Couchbase, Inc.

--
Couchbase 2.0 is Here!: http://www.couchbase.com/download
Couchbase 2.0 Learn: http://www.couchbase.com/learn
Couchbase Forums: http://www.couchbase.com/forums
---
You received this message because you are subscribed to the Google Groups "Couchbase Team 8091" group.
To unsubscribe from this group and stop receiving emails from it, send an email to couchbase-809...@googlegroups.com.
To post to this group, send email to couchba...@googlegroups.com.
Visit this group at http://groups.google.com/group/couchbase-8091.
To view this discussion on the web visit https://groups.google.com/d/msgid/couchbase-8091/61fff346-009f-4ad4-9053-ad3676f7afa8%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Gareth Powell

unread,
Sep 5, 2013, 12:15:34 PM9/5/13
to couchba...@googlegroups.com
i was using 1.1.5; now upgrading to 1.1.9.

Is there a specific version of spymemcache that goes with that?


Matt Ingenthron

unread,
Sep 5, 2013, 12:19:20 PM9/5/13
to couchba...@googlegroups.com
Yes.  It's both in the zipfile and described via maven.

Thanks,

Matt

-- 
Matt Ingenthron
Couchbase, Inc.

Gareth Powell

unread,
Sep 5, 2013, 12:26:54 PM9/5/13
to couchba...@googlegroups.com
Thanks.  We'll give that a go.


Reply all
Reply to author
Forward
0 new messages