Skip to content

Fix bookmark comparison #250

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

Merged
merged 1 commit into from
Jul 6, 2018
Merged

Fix bookmark comparison #250

merged 1 commit into from
Jul 6, 2018

Conversation

lutovich
Copy link
Contributor

@lutovich lutovich commented Jul 5, 2018

Bookmarks need to be parsed and compared in order to send the most up-to-date bookmark to an old-ish Neo4j version. Previous versions do not support multiple bookmarks in metadata. They only support a single one.

This PR fixes a problem with bookmark parsing for further comparison. Bookmark format consists of a fixed prefix and an int identifier. Previous parser assumed that they are colon-separated.

Resolves #249

Bookmarks need to be parsed and compared in order to send the most
up-to-date bookmark to an old-ish Neo4j version. Previous versions do
not support multiple bookmarks in metadata. They only support a
single one.

This commit fixes a problem with bookmark parsing for further
comparison. Bookmark format consists of a fixed prefix and an int
identifier. Previous parser assumed that they are colon-separated.
@lutovich lutovich requested a review from technige July 5, 2018 17:40
Copy link
Contributor

@technige technige left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 👍

@technige technige merged commit 3c018b7 into neo4j:1.6 Jul 6, 2018
@lutovich lutovich deleted the 1.6-bookmark-fmt branch July 6, 2018 14:30
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