mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-20 08:25:50 +08:00
Update index.py
This commit is contained in:
@@ -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(',')
|
||||
|
||||
Reference in New Issue
Block a user