memcached_stats plugin only returns statistics if all servers are available in list
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Triaged
|
Low
|
Padraig O'Sullivan |
Bug Description
To use the memcached_stats plugin you need to set the global variable memcached_
For instance:
drizzle> set global memcached_
Query OK, 0 rows affected (0 sec)
drizzle> select * from MEMCACHED_STATS;
+------
| NAME | PORT_NUMBER | PROCESS_ID | UPTIME | TIME | VERSION | POINTER_SIZE | RUSAGE_USER | RUSAGE_SYSTEM | CURRENT_ITEMS | TOTAL_ITEMS | BYTES | CURRENT_CONNECTIONS | TOTAL_CONNECTIONS | CONNECTION_
+------
| localhost | 12000 | 2185 | 79355 | 1266282950 | 1.4.1 | 64 | 0 | 0 | 0 | 0 | 0 | 10 | 18 | 11 | 0 | 0 | 0 | 0 | 0 | 105 | 5126 | 67108864 | 5 |
| localhost | 12050 | 3068 | 79295 | 1266282949 | 1.4.1 | 64 | 1 | 1 | 0 | 0 | 0 | 10 | 13 | 11 | 0 | 0 | 0 | 0 | 0 | 35 | 1460 | 67108864 | 5 |
+------
2 rows in set (0.01 sec)
************* At this point I killed off one of the memcached servers, but one in the list is still running *******
drizzle> select * from MEMCACHED_STATS;
ERROR 1105 (HY000): Unable get stats from memcached server localhost. Got error from memcached_
drizzle>
Changed in drizzle: | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in drizzle: | |
assignee: | nobody → Padraig O'Sullivan (posulliv) |