Skip to content
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

Issue while migrating data from version < 1.1.0 #4

Closed
phoeluga opened this issue Apr 15, 2022 · 1 comment · Fixed by #5
Closed

Issue while migrating data from version < 1.1.0 #4

phoeluga opened this issue Apr 15, 2022 · 1 comment · Fixed by #5
Assignees
Labels
bug Something isn't working

Comments

@phoeluga
Copy link
Owner

When updating to adapter version >= 1.1.0 the migration process will fail.
This will lead to an infinite loop of migration iterations.

@phoeluga phoeluga self-assigned this Apr 15, 2022
@phoeluga phoeluga added the bug Something isn't working label Apr 15, 2022
@phoeluga phoeluga linked a pull request Apr 15, 2022 that will close this issue
phoeluga added a commit that referenced this issue Apr 15, 2022
phoeluga added a commit that referenced this issue Apr 15, 2022
@phoeluga phoeluga removed a link to a pull request Apr 15, 2022
@phoeluga phoeluga linked a pull request Apr 15, 2022 that will close this issue
@phoeluga
Copy link
Owner Author

Fixed deletion of old data what leaded to an infinite loop during the migration.
To have a non breaking change, the values of the new properties will be initially loaded and stored in the adapter instance configuration.
This will lead to a restart of the adapter since the adapter configuration will be changed during adapter instance execution. --> This is by intention!

phoeluga added a commit that referenced this issue Apr 16, 2022
* Fixing #4 > Data migration

* Added descriptions for the upcoming version

* Updated channel lookup behavior for taking tokens + enable state in charge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant