Commit 749083e
MB-27146: add err msg for non-KVnode cbstats calls
Instead of exiting with "mc_bin_client.ErrorKeyEnoent: Memcached error #1:
KEY_ENOENT : Not Found :" any time a cbstats call is executed against a
node that is not running the Data (KV) Service, catch and specifically
handle this error - printing a more user-friendly error message.
Change-Id: I26f41ed3ec4f14fa5259bc182978503a8e872c4c
Reviewed-on: https://review.couchbase.org/c/kv_engine/+/172296
Tested-by: Build Bot <[email protected]>
Reviewed-by: Dave Rigby <[email protected]>1 parent c86ff24 commit 749083e
2 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
113 | 117 | | |
114 | 118 | | |
115 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
0 commit comments