commit | 012f04240eafe6dfa21fd94e012e97498881c621 | [log] [tgz] |
---|---|---|
author | Saša Živkov <sasa.zivkov@sap.com> | Tue Apr 02 12:17:17 2024 +0200 |
committer | Saša Živkov <sasa.zivkov@sap.com> | Tue Apr 02 13:48:50 2024 +0200 |
tree | caabf11346d53f6567639897a3dadd786e9c43bf | |
parent | cc47d53d4870e2c285c3b72202ebe6f3fdd67b57 [diff] |
Remove remaining event posting from synchronized sections Posting events sometimes can take significant time, mainly due to the event visibility checks. When this is done from a synchronized block then all other threads trying to schedule replication to the same (locked) Destination get blocked. Even worse, the synchronization happens on the Destination level, so even operations on unrelated repositories block each other. Change-Id: I7498c7b36ee4b0b2d915a414a0fb1054160e8a1c