should close connection after fetch binlog
parent
41581aae6b
commit
f46f8bfb0b
|
|
@ -1117,7 +1117,7 @@ int storage_disk_recovery_start(const int store_path_index)
|
|||
}
|
||||
|
||||
result = storage_do_fetch_binlog(pStorageConn, store_path_index);
|
||||
tracker_disconnect_server_ex(pStorageConn, result != 0);
|
||||
tracker_disconnect_server(pStorageConn, true);
|
||||
if (result != 0)
|
||||
{
|
||||
return result;
|
||||
|
|
|
|||
|
|
@ -4268,6 +4268,7 @@ static int storage_server_do_fetch_one_path_binlog( \
|
|||
if ((result=storage_reader_init(NULL, pReader)) != 0)
|
||||
{
|
||||
storage_reader_destroy(pReader);
|
||||
free(pReader);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue