-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Checkpoint store in the target cluster #8
Comments
I've encountered jumps back in time when reading a stream from a replica Event Store, where in the original Event Store the timestamps embedded in my data always increased. I wonder if it's a wrong configuration on my part, or will this always happen whenever I restart the replicator? My replica Event Store was built from an older backup of the |
what do you mean "jumped back in time" ? |
Thanks for quick reply. By the way the replicator is quite solid, especially I like how easy it is to setup based on your docker-compose example. I probably did something wrong. My transformation function is:
Maybe I should exclude such streams from replication, or disable such projections in the Replica Event Store? |
that seams strange, what are you using that replica for? |
I think the reason and the difference is that Our replica Event Store is used for running heavier projections for monitoring and debugging purposes, which could otherwise degrade the main Event Store performance. |
I guess , you're on V5.x , if you upgrade to v21.10.x then those are not in the database itself anymore ( stats related streams, $result & $state are still in ) |
In addition, 20+ version allows applying server-side filters on subscriptions to It's also possible to use a server-side projection to link all the events to a certain stream, so it will become a pseudo-$all. But then again, the only use case I am aware of for this is persistent subscriptions. And, we will soon release the client that support persistent subscriptions to $all, as the server supports it since 21.6 (I believe). |
Using the target server to store checkpoints essentially doubles the write load to the target, so I always had doubts about usefulness of this feature... |
I think you are right and storing the checkpoint in a file configurable via The use case that I'm missing is to be able to bootstrap the target by copying the I'm using Event Store 5.0.9.0 and Replicator 0.4.1 By unsupported I mean exactly these jumps backwards in time by multiple days. Example: I wrote a Python script which prints the first event of a stream and then scans the rest of it for temporal inconsistencies:
2021-12-04 is the date of the last backup of the As a workaround I will simply start with an empty target Event Store. Clearly my use case could only work in the absence of any kind of transformation or filtering during replication - which I don't need at the moment. |
No description provided.
The text was updated successfully, but these errors were encountered: