2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-17 21:23:18 +00:00
confluent/confluent_server
Jarrod Johnon 89ca5b412b Fix race condition on configuration writeback
If the sync thread had moved beyond the point of checking _writepending, but had not quite managed to trigger
isAlive() to be false, the sync cfg to file would transition to never work.  Address this by adding one lock and one boolean.
Inside the lock, the two booleans are manipulated to atomically mark the end of thread sync activity linked with
check for pending data to write.
2014-09-19 08:57:17 -04:00
..
2014-07-14 14:54:12 -04:00
2014-07-14 14:54:12 -04:00
2014-07-14 14:54:12 -04:00
2014-07-14 14:54:12 -04:00
2014-07-14 14:54:12 -04:00
2014-07-14 14:54:12 -04:00
2014-08-19 15:06:28 -04:00