concurrent CTL
- Sep 01, 2024
-
-
-
Daniel Salzman authored
The functions pthread_rwlock_timedwrlock() and pthread_rwlock_timedrdlock() are not available on macOS. Use not non-timed variants pthread_rwlock_wrlock() and pthread_rwlock_rdlock() instead.
-
-
Daniel Salzman authored
-
...to avoid LMDB issues when RW txn migrates threads
-
-
If a command called with -b would be started and knotc zone-begin arrived in the meantime before the first command reaches zone_update_begin(), it might be blocked until zone-abort, which might however not be possible to send because ctl is blocked due to -b.
-
knotc zone-ksk-submitted actually triggers two operations: 1) modification of KSK's metadata 2) re-signing of the zone when called in multithreaded CTL, it might happen that knotc zone-begin arrives between those and if a third comand needs to lock it all, it could cause deadlock
-