I’m refactoring an existing prod-app to use cb instead of memcached - The transition has been fairly smooth as I’ve configured cb to use memcached buckets over 11211/SASL instead of the cb buckets.
The engineering team relies heavily on a cache-access utility to validate cache content during development which, in turn, relies on the memcached API method: getAllKeys(). I’ve spent a half-day researching and determined that:
– you can use views to fetch keys if you have a couchbase bucket and write a method to return all keys
– access TAP which isn’t guaranteed to work correctly and not sure if I can do that with memcached buckets anyway…
The TAP explanation is ok - but lacks information on implementation - and the fact that the result sets are undefined means that I don’t want to invest limited time in exploring.
So, thinking that someone has to have solved this problem before…and was wondering if there were any work-arounds that addresses how to retrieve a key dump from the memcached bucket.