diff options
| author | 付明卫 <[email protected]> | 2020-05-28 00:00:17 +0800 |
|---|---|---|
| committer | 付明卫 <[email protected]> | 2020-05-28 00:00:17 +0800 |
| commit | 80ff2c20b5de7a17861dc7f25fafd890d613205e (patch) | |
| tree | e8faabeab51ee1f4ccb5939830776d995d08fc12 | |
| parent | fb33ecfb23d75f35fc4ea3c53b425831a89fa1fe (diff) | |
TSG-1198:自检分流规则添加读写锁的释放v20.06
| -rw-r--r-- | entry/src/tfe_mgr.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/entry/src/tfe_mgr.cpp b/entry/src/tfe_mgr.cpp index 2e8f85f..847aed7 100644 --- a/entry/src/tfe_mgr.cpp +++ b/entry/src/tfe_mgr.cpp @@ -423,5 +423,7 @@ int tfe_mgr_alive_node_RR_get(struct tfe_mgr *mgr,int *last_tfe_id_index){ *last_tfe_id_index = i; tfe_id = mgr->tfe_alive_nodes[i]; } + pthread_rwlock_unlock(&(mgr->rwlock)); + return tfe_id; } |
