Swallow new stats from 1.3 servers. We need a new stats design
authorTrond Norbye <trond.norbye@sun.com>
Sat, 2 May 2009 03:25:38 +0000 (20:25 -0700)
committerTrond Norbye <trond.norbye@sun.com>
Sat, 2 May 2009 03:25:38 +0000 (20:25 -0700)
libmemcached/memcached_stats.c

index 1c8c174f8c5d333f33ca95ea891b7065a1cadfa5..791c00d9891ef75950cca606c1958ae43a74704e 100644 (file)
@@ -144,7 +144,10 @@ static void set_data(memcached_stat_st *stat, char *key, char *value)
              strcmp("decr_hits", key) == 0 ||
              strcmp("cas_misses", key) == 0 ||
              strcmp("cas_hits", key) == 0 ||
-             strcmp("cas_badval", key) == 0))
+             strcmp("cas_badval", key) == 0 ||
+             strcmp("cmd_flush", key) == 0 ||
+             strcmp("accepting_conns", key) == 0 ||
+             strcmp("listen_disabled_num", key) == 0))
   {
     fprintf(stderr, "Unknown key %s\n", key);
   }