Deadlock on Edge service index update
A deadlock has been found in the edge service cache :
-
PTRealTimeUpdate
process updates schedules **ScheduledService
marks the cache to false so that it's updated, and locks itself while doing it -
VDVClient
process checks if new services are to be send, using the edge service cache ** The cache updates and locks itself, and a call theScheduledService
in doing so
If the two process touches the same data at the same time, a deadlock is produced.
Symptoms :
- A lot of threads are created rapidly, as the new VDV demands and BDSI import are all blocked by the VDVClient call
- Some service can still answer, but some just hang undefinitely