Update index.py

pull/561/head
Mr Chen 1 year ago
parent a779caea41
commit 41c7b0fb70
  1. 4
      plugins/mongodb/index.py

@ -1135,8 +1135,8 @@ def replClose():
# del repl_info['set']
# print(repl_info)
rsStatus = db.command('replSetGetConfig',config,force=True)
rstatus = db.command('replSetReconfig',config,force=True)
print(rstatus)
# db.command('replSetStepDown',replSetStepDown=0,secondaryCatchUpPeriodSecs=0,force=True)
except Exception as e:
# info = str(e).split(',')

Loading…
Cancel
Save