om代码同步

This commit is contained in:
gyt0221
2021-02-05 14:44:00 +08:00
parent b53952aa62
commit f2d28fca22
8 changed files with 44 additions and 22 deletions

View File

@ -1419,8 +1419,7 @@ class dbClusterInfo():
"""
i = 0
(clusterState, syncInfo) = self.__getDnSenderStatus(sshtool,
localHostName,
nodeId)
localHostName)
outText = \
"--------------------------------------------------------------" \
"---------\n\n"
@ -1811,7 +1810,7 @@ class dbClusterInfo():
dnInsNum += len(dbNode.datanodes)
return dnInsNum
def __getDnSenderStatus(self, sshtool, localHostName, nodeId):
def __getDnSenderStatus(self, sshtool, localHostName):
sql_get = "select a.client_addr, b.state, b.sender_sent_location," \
"b.sender_write_location, b.sender_flush_location," \
"b.sender_replay_location, b.receiver_received_location," \