Potential to lose changes between Correlation Store and Difference Store
Reported by Paul Jones | October 14th, 2011 @ 06:49 AM
Currently, when the version policy processes a change, it emits an event that gets processed by the DifferencesManager and results in an entry being created/updated in the Differences Store. The Version Store was also informed of this change, but may not flush the changes until some later point.
If the agent were to crash between this process happening and the flush occurring, then the change could end up being lost, and the difference store holding data that the correlation store doesn't have. Since changes are sent incrementally to the difference store, there isn't any way of cleaning this up or even detecting it.
Given the incremental nature of the transfer, changes should never be seen outside of the version store until they've been flushed to disk. This will probably introduce a delay in realtime event processing - but if the realtime flush timeout is suitably low, then it shouldn't be a large issue.
It might be worth tackling #388 first.
As an operational procedure, it is recommended that in the event of the agent crashing, the each pair should be removed and re-added to ensure that no data was lost.
Comments and changes to this ticket
-

Ben Hood October 14th, 2011 @ 06:52 AM
- no changes were found...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A Real Time Differencing Tool.
People watching this ticket
Referenced by
-
375
Correlation store should version index entries
#386 is also a follow up ticket