Skip to content

logstore: Add a concept of checkpoints and ContinuingStrings, for incremental log printing#2623

Merged
nicks merged 1 commit into
masterfrom
nicks/continuation
Dec 4, 2019
Merged

logstore: Add a concept of checkpoints and ContinuingStrings, for incremental log printing#2623
nicks merged 1 commit into
masterfrom
nicks/continuation

Conversation

@nicks

@nicks nicks commented Dec 4, 2019

Copy link
Copy Markdown
Contributor

Hello @jazzdan,

Please review the following commits I made in branch nicks/continuation:

349557c (2019-12-04 11:27:30 -0500)
logstore: Add a concept of checkpoints and ContinuingStrings, for incremental log printing

ce0e01a (2019-12-04 11:20:10 -0500)
model: store logs by segment instead of by line
A key API we want to be able to support is "give me all the logs since checkpoint X".
Storing the logs in an append-only data structure makes this much easier to support,
even if it makes it a little bit harder to print the logs line-by-line.

Storing the logs line-by-line meant we had to do backtracking and make things mutable.

@nicks
nicks requested a review from jazzdan December 4, 2019 16:27
@nicks
nicks force-pushed the nicks/continuation branch from 349557c to 2b5127c Compare December 4, 2019 16:28
@nicks
nicks merged commit a32c6f2 into master Dec 4, 2019
@nicks
nicks deleted the nicks/continuation branch December 4, 2019 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants