Hi all,

I am trying to test Memcached warm restart on Windows.
I am using v1.6.12.

I used ImDisk to create a RAM disk on Windows on the D: drive (1G)

I start Memcached with the -e option

C:\Users\chapmand\memcached\1.6.12\libevent-2.1\x64>memcached.exe -e 
D:\backup
[restart] no metadata save file, starting with a clean cache

I check the file system and I can see that the backup file is created:

D:\>dir
 Volume in drive D has no label.
 Volume Serial Number is 5881-2000

 Directory of D:\

07/12/2021  11:17        67,108,864 backup
               1 File(s)     67,108,864 bytes
               0 Dir(s)     988,749,824 bytes free
   
I start a telnet session and set and get mykey

telnet localhost 11211

set mykey 0 300 4
data
STORED
get mykey
VALUE mykey 0 4
END    

I stop Memcached using Ctrl-C and restart

C:\Users\chapmand\memcached\1.6.12\libevent-2.1\x64>memcached.exe -e 
D:\backup
[restart] no metadata save file, starting with a clean cache
Signal handled: Interrupt.

C:\Users\chapmand\memcached\1.6.12\libevent-2.1\x64>memcached.exe -e 
D:\backup
[restart] no metadata save file, starting with a clean cache

I think the issue may be here as I would not expect to restart with a clean 
cache. I see no
metadata file on the D: drive.

When I run the telnet session again and type the get mykey command it does 
not find the data value.

Any help would be really appreciated.
Thank you in advance.

Kind regards,
Damian.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to memcached+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/memcached/b23103c0-4e40-4ab5-b6e4-d095685d5220n%40googlegroups.com.

Reply via email to