-
Notifications
You must be signed in to change notification settings - Fork 12
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
uptake hive 4.x beta version #2005
Comments
Progress made on hive 4.x uptake so far
Solution:
|
Raised an issue in hive repo for migrating hive box to latest version |
I will resume working on 4x changes in persistence and pass the branch to @purnimavenkatasubbu @VJag for benchmarking performance. Based on the outcome of benchmarking, we will decide the priority of migrating old hive box to new one. |
Code changes done in persistence.Currently fixing unit tests in persistence |
|
Performance testing summary performance testing summary |
hive v4 is not actively maintained. |
Uptaking hive_ce was straightforward. Works fine without any code changes. |
@purnimavenkatasubbu Please run some performance tests with trunk branch and test_hive_ce branch of server. |
That's good to hear, let's hope the performance tests are favourable |
Hello! I'm the maintainer of Hive CE.
Did you try the migration tool mentioned in those docs? Following those instructions should result in generating type adapters that are identical to the ones you currently have. https://pub.dev/packages/hive_ce#migrating-to-generateadapters |
@Rexios80 Yeah. I have followed the document link already and generated the adapters. There is no issue in hive_ce generating the adapter code. Problem was the way we have implemented the adapters from our side. Order of attributes declaration and order of writing/reading in adapters do not match. I will re-order the attributes in our code and give it a try again. Thanks a lot for the help. |
The migration tool takes this into account. The existing indices defined in your Manually reordering the fields instead of using the migration tool will not handle gaps in indices caused by removed fields. |
Will recheck the migration tool based on the feedback by @Rexios80 |
@Rexios80 |
That is expected since you haven't removed the old annotations yet in step 3. That is also why you have to generate twice. Yes that command works but technically it starts with |
Is your feature request related to a problem? Please describe.
hive older version has few issues related to box corruption, updating hive box in isolate.
Describe the solution you'd like
uptake changes in persistence for hive major version and check for performance improvements.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: