mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
22.26.2013 6d35a7b4fd83e9c5c917f29967c956c8750a43e3
refs
author Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Friday, November 22, 2013 13:26 +0100
committer Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Friday, November 22, 2013 13:26 +0100
commit6d35a7b4fd83e9c5c917f29967c956c8750a43e3
tree 312264fc11b80f7f3743cffcad15459e1ab2f97b tree | zip | gz
parent 64a1355acbc78feab7ed4aa3e8d3f59cc2c6bcc0 view | diff
Found and fixed a new deadlock with read vs. write locks.

ReplicationDB.java:
Always unlock the readLock when no cursor is held. Fix is similar to r9542 for DraftCNDB.DraftCNDBCursor .
Do not release read lock twice.
1 files modified
10 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/replication/server/changelog/je/ReplicationDB.java 10 ●●●●● diff | view | raw | blame | history