drop physical slot in gs_dropnode

This commit is contained in:
zhang_xubo
2022-03-15 21:12:09 +08:00
parent 0f6fc9a86c
commit cff1ce0147
2 changed files with 25 additions and 12 deletions

View File

@ -641,7 +641,7 @@ class OperCommon:
self.logger.debug(
"[gs_dropnode]Get repl slot failed:" + output)
GaussLog.exitWithError(ErrorCode.GAUSS_358["GAUSS_35809"])
return ','.join(output.split('\n')[1:])
return ','.join(output.split('\n'))
def SetReplSlot(self, host, gsqlPath, port, dnid,
flag_rollback=False):