Skip to content

I1668 scan id from short to int #1670

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

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

pragmaxim
Copy link
Collaborator

@pragmaxim pragmaxim commented Mar 29, 2022

See #1668

I tested it and all works fine :

  • creating some scans with 4.0.35
  • starting 4.0.36 that migrates these scans from Short to Int
  • testing API
  • shutdown and run 4.0.36 again
  • testing boot up and API

@pragmaxim pragmaxim requested a review from kushti March 29, 2022 09:25
Base automatically changed from v4.0.25 to master March 29, 2022 12:38
@kushti kushti added this to the 4.0.28 milestone May 5, 2022
@kushti kushti changed the base branch from master to v4.0.28 May 6, 2022 11:09
Copy link
Member

@kushti kushti left a comment

Choose a reason for hiding this comment

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

It seems that old indexes (built with composeKey* functions) can be damaged. Please check and do new tests accordingly

@pragmaxim
Copy link
Collaborator Author

@kushti how did you find it can be damaged? I could use some clue

@kushti kushti modified the milestones: 4.0.28, 4.0.29 May 14, 2022
@kushti kushti changed the base branch from v4.0.28 to master May 14, 2022 19:47
@kushti kushti modified the milestones: 4.0.29, 4.0.31 May 22, 2022
@pragmaxim
Copy link
Collaborator Author

@kushti I think you misunderstood the logic behind migration, I described it here #1668 (comment) ... we migrate the ids at the boot time and then we type-safely work only with Ints

@pragmaxim pragmaxim requested a review from kushti May 28, 2022 05:51
@kushti kushti modified the milestones: 4.0.31, 4.0.32 May 31, 2022
@kushti
Copy link
Member

kushti commented Jul 5, 2022

@kushti I think you misunderstood the logic behind migration, I described it here #1668 (comment) ... we migrate the ids at the boot time and then we type-safely work only with Ints

How did you test it ?

@pragmaxim
Copy link
Collaborator Author

@kushti the sequence of testing steps is in the PR description.

@pragmaxim pragmaxim changed the base branch from master to v4.0.36 July 27, 2022 14:57
@kushti kushti changed the base branch from v4.0.36 to master July 30, 2022 18:11
@kushti kushti modified the milestones: 4.0.32, 5.0.11 May 5, 2023
@kushti kushti changed the base branch from master to v5.0.11 May 11, 2023 10:32
@kushti
Copy link
Member

kushti commented May 11, 2023

@pragmaxim made custom testing, no results returned for old scans

@pragmaxim
Copy link
Collaborator Author

@kushti I was working on this almost 14 months ago, it is too stale for me to continue ... the LevelDB layer is very hard to reason about

Base automatically changed from v5.0.11 to master June 1, 2023 09:53
@kushti kushti modified the milestones: 5.0.11, 5.0.13 Jun 12, 2023
@kushti kushti changed the base branch from master to v5.0.13 June 12, 2023 20:55
Base automatically changed from v5.0.13 to master July 29, 2023 18:21
@kushti kushti modified the milestones: 5.0.13, 5.0.17 Oct 25, 2023
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