"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "t/error-extstore.t" between
memcached-1.6.14.tar.gz and memcached-1.6.15.tar.gz

About: memcached is a high-performance, distributed memory object caching system, generic in nature, but originally intended for use in speeding up dynamic web applications by alleviating database load.

error-extstore.t  (memcached-1.6.14):error-extstore.t  (memcached-1.6.15)
skipping to change at line 23 skipping to change at line 23
my $ext_path; my $ext_path;
if (!supports_extstore()) { if (!supports_extstore()) {
plan skip_all => 'extstore not enabled'; plan skip_all => 'extstore not enabled';
exit 0; exit 0;
} }
$ext_path = "/tmp/extstore.$$"; $ext_path = "/tmp/extstore.$$";
my $server = new_memcached("-m 64 -I 4m -U 0 -o ext_page_size=8,ext_wbuf_size=8, ext_threads=1,ext_io_depth=2,ext_item_size=512,ext_item_age=2,ext_recache_rate=1 0000,ext_max_frag=0.9,ext_path=$ext_path:64m,slab_automove=0,ext_compact_under=1 "); my $server = new_memcached("-m 64 -I 4m -U 0 -o ext_page_size=8,ext_wbuf_size=8, ext_threads=1,ext_io_depth=2,ext_item_size=512,ext_item_age=2,ext_recache_rate=1 0000,ext_max_frag=0.9,ext_path=$ext_path:64m,slab_automove=0,ext_compact_under=1 ,ext_max_sleep=100000");
my $sock = $server->sock; my $sock = $server->sock;
# Wait until all items have flushed # Wait until all items have flushed
sub wait_for_ext { sub wait_for_ext {
my $sum = 1; my $sum = 1;
while ($sum != 0) { while ($sum != 0) {
my $s = mem_stats($sock, "items"); my $s = mem_stats($sock, "items");
$sum = 0; $sum = 0;
for my $key (keys %$s) { for my $key (keys %$s) {
if ($key =~ m/items:(\d+):number/) { if ($key =~ m/items:(\d+):number/) {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)