Infinite loop to wait for the variable value to change, and check every 30 seconds in mongo shell

后端 未结 0 1676
温柔的废话
温柔的废话 2021-01-15 03:34

Writing a bash script where I connect to mongo-shell. I have the following output for rs.status(). I have to wait for one of the members to change the value of

相关标签:
回答
  • 消灭零回复
提交回复
热议问题