Re: memcached + SASL: Password verification failed

2019-03-22 Thread Om Kale
Alright...cool. Let me know if you ever successfully get DIGEST-MD5 working. Have a great weekend! Thanks and Regards, Om Kale Master of Science in Electrical and Computer Engineering Georgia Institute of Technology On Fri, Mar 22, 2019 at 3:23 PM Jiuming Shao wrote: > Hi Om, > > No. I just

Re: memcached + SASL: Password verification failed

2019-03-22 Thread Jiuming Shao
Hi Om, No. I just started with PLAIN as a PoC. Cheers! Om Kale 于2019年3月22日周五 下午3:17写道: > Hi Jiuming, > Were you able to make it work with DIGEST-MD5 instead of just PLAIN auth? > > Regards, > Om Kale > Master of Science in Electrical and Computer Engineering > Georgia Institute of Technology

Re: memcached + SASL: Password verification failed

2019-03-22 Thread Om Kale
Hi Jiuming, Were you able to make it work with DIGEST-MD5 instead of just PLAIN auth? Regards, Om Kale Master of Science in Electrical and Computer Engineering Georgia Institute of Technology On Fri, Mar 22, 2019 at 2:40 PM Jiuming Shao wrote: > Thanks! I figured it out by postfixing

Re: memcached + SASL: Password verification failed

2019-03-22 Thread Jiuming Shao
Thanks! I figured it out by postfixing `@memcached.realm` after my key. dormando 于2019年3月19日周二 上午10:49写道: > t/binary-sasl.t under memcached/memcached should show you examples of how > to authenticate. You should be able to just hack up the test to get more > information about what the password

Re: how to get find out key expiration time after it was put in the cache?

2019-03-22 Thread dormando
Got it. stats cachedump might find it, but it's limited to "a megabyte" worth of keys/metadata per slab class. it'll also hang your server while it fills up the buffer. in newer versions you can definitely find it with lru_crawler metadump [slabclass]. I'll be improving those interfaces too.

Re: how to get find out key expiration time after it was put in the cache?

2019-03-22 Thread 'Nikhil' via memcached
Got it. Thank you Dormando and Daniel for your prompt responses. Dormando, yes I am debugging a corner case, where I deleted an unused feature that queried a key from memcache (that key is not in the db, so cannot be in memcache after TTL expired). But it happens to be there, so I want to

Re: how to get find out key expiration time after it was put in the cache?

2019-03-22 Thread dormando
There's no way to retrieve the metadata back from an item aside from the client flags as part of a normal command. What people typically do is embed the original TTL into the object you've stored. that way the application can read it or any other metadata you want to make decisions with. Though

Re: how to get find out key expiration time after it was put in the cache?

2019-03-22 Thread Daniel Ellis
As far as I know, cachedump is the only way. The unfortunate downside is that you can only dump one page per slab, according to this . I bet you could get fancy and dump the entire process memory and dig through it yourself... That

how to get find out key expiration time after it was put in the cache?

2019-03-22 Thread nagashe via memcached
Hi All, I have a `key` which was put in the cache, the database does not have the key anymore, but since it was in the cache our app gets the value. I want to know when it would expire before I go in and try to delete it by hand. What is the recommended way to find the key expiration time