I asked, but I found the answer myself. It is a method using command as cbstats. I will write down an example below.
./cbstats -b [bucketname] -p [password] 127.0.0.1:11210 all | grep ep_degraded_mode
If you know how to use api in JAVA other than the above method, please let me know.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.