Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 355199e

Browse files
author
Alena Rybakina
committed
Append miss release locks.
1 parent 0cfcab8 commit 355199e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

storage.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1315,6 +1315,7 @@ aqo_data_store(uint64 fs, int fss, OkNNrdata *data, List *reloids)
13151315
* that caller recognize it and don't try to call us more.
13161316
*/
13171317
(void) hash_search(data_htab, &key, HASH_REMOVE, NULL);
1318+
LWLockRelease(&aqo_state->data_lock);
13181319
return false;
13191320
}
13201321
}
@@ -1347,6 +1348,7 @@ aqo_data_store(uint64 fs, int fss, OkNNrdata *data, List *reloids)
13471348
* that caller recognize it and don't try to call us more.
13481349
*/
13491350
(void) hash_search(data_htab, &key, HASH_REMOVE, NULL);
1351+
LWLockRelease(&aqo_state->data_lock);
13501352
return false;
13511353
}
13521354
}

0 commit comments

Comments
 (0)