Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Membase | Membase Server 1.7.x

server down before replication queue drained

1 reply [Last post]
  • Login or register to post comments
Tue, 11/15/2011 - 16:40
manchambhatla
Offline
Joined: 09/16/2011
Groups: None

1) If a server goes down before replication queue is drained then it is possible to get stale data on subsequent get (from a replica). Is it true?
2) Does spymemcached-2.7 support "sync" on replica?

Top
  • Login or register to post comments
Tue, 11/15/2011 - 21:51
mikew
Offline
Joined: 03/14/2011
Groups:

1. If a server goes down before that data is replicated to another server than you will get stale data.

2. Spymemcached doesn't support sync and won't support this command. We are adding a new command to the server that will allow you check to make sure that an item is replicated or persisted for Couchbase 2.0. We will "provide" support for this command in Spymemcached 2.8 (2.8 is only a developer preview at the moment and doesn't have support for the new command yet). Provide is in quotes because you won't actually use the command directly. What I imagine is that you will have a function like setAndPersist() or setAndReplicate(). These functions will still return Futures but when you call get() on the Future it will block until the item has been persisted or replicated.

Let me know if you have any other questions.

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker