Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Ensure db paths are backwards compatible #2843

Closed
wants to merge 3 commits into from

Conversation

pawanjay176
Copy link
Member

Issue Addressed

N/A

Proposed Changes

#2682 fixed a bug where providing a relative path for datadir resulted in the datadir db paths being created relative to the home directory. However, as @paulhauner noted in the PR, this would be a backwards incompatible change for users relying on the bug knowingly or unknowingly.

This PR ensures backwards compatibility by keeping the db in the same place as before for users relying on the bug.
If there is no db in the existing location, then it will behave as expected (create a directory relative to the current path).

@pawanjay176 pawanjay176 added the ready-for-review The code is ready for review label Dec 1, 2021
@pawanjay176
Copy link
Member Author

Closing this in favour of #2846

@pawanjay176 pawanjay176 closed this Dec 1, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
ready-for-review The code is ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant