Spymemcached + membase not committing Writes to the Disk
I have been following the tutorial: http://sujee.net/tech/articles/membase-tutorial-1/ which talks about using spymemcached (v 2.5) with java inorder to write data to disk using Membase.
I set up membase and followed the tutorial.
MemcachedClient cache = new MemcachedClient(new InetSocketAddress(server, port));
where server = localhost and port = 11211.
Everything goes good when I set some datachunk (which is apparently getting written to the disk) and get the data for the same key. I feel this data is rather getting read from the cache (memcached layer) and not from the membase.
Therefore I tried to write different batches of datasets (say key 0-100000, 100000-200000 etc..) and then I tried to get the data corresponding to first range of keys (0-100000) and it returned "null". This, according to me, should only happen if the data has not been committed to the disk and the client is trying to read the data from the the cache and is unable to find it.
I am a newbie at Membase. Kindly let me know what could be the problem or how to ensure that data is actually written to membase.