Skip to content

Is there a possibility to create a checkpoint file at custom location? #2899

Answered by ion-elgreco
ashishkaul01 asked this question in Q&A
Discussion options

You must be logged in to vote

Checkpoints have a different goal then you are expecting it to be used for. They are used to improve the speed of determining the state of the table by having the add/remove/metadata/protocol actions stored in a more efficient manner.

None of the readers should call checkpoint, only a writer should. If you want to know what you reader has already read or not, just maintain the read_last_version elsewhere.

An approach I have done in the past is where you add a column "version" into the target table, so all records you write into that target you know came from a certain version in the source. By reading the max version of the target you can derive where to start reading the source from. But…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@rtyler
Comment options

@ashishkaul01
Comment options

@ww917352
Comment options

@ion-elgreco
Comment options

Answer selected by rtyler
@ww917352
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants