-
-
Notifications
You must be signed in to change notification settings - Fork 180
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
fix build and NPE on master #5294
base: master
Are you sure you want to change the base?
Conversation
- add constructor to ExistXmldbEmbeddedServer that allows passing in configuration properties - create new test that updates a document with fragmentation limit set to -1
A regression introduced in c553667 causes a NullPointerException to be thrown whenever an XML-resource needs to be defragmented. This will be triggered on frequent writes to any XML-resource and will effectively remove the file from the database and from any indexes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We never commit to master
directly. As per the documentation, master just points to the latest release commit. Please close this.
The NPE I agree on.... that is a bug-fix for the app; |
The only alternative that I see is that we create a release branch: |
@dizzzz Sure, it's in the documentation - https://github.com/eXist-db/exist/blob/develop/exist-versioning-release.md#release-process
I find that a bit of a strange and jarring comment... This is not at all about what is acceptable to me, it is about following the rules that we all reviewed, agreed to, and documented during an open community process. Those rules were created to make sure that we have a consistent, working, and repeatable process for doing the releases. I recall that before we documented the process very few people knew how to do a release, doing so was very time consuming and difficult, and each one looked a bit different to the previous one. This release process document has been in place since 2017 (or earlier?) and every release has followed those instructions since (https://github.com/eXist-db/exist/commits/develop/exist-versioning-release.md). |
If you follow the documented release process you should not need to create a release branch, you can just tag the appropriate commit. |
We need to get a patch release out to fix a fatal regression resulting in data loss. |
That was not my intention, apologies, but clearly we (me) need some (more) guidance and would like to fix some long-time issues. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
based on feedback... we need to have an other route
@adamretter the document you refer to only mentions the develop branch which is not suitable to create a 6.2.1 as it contains a snapshot of version 7 and contains breaking changes. |
Description:
This PR is deliberately targeting the master branch and does two things:
master
is broken #4911Reference:
Backport of #5276
fixes #4911
fixes #5273
Type of tests:
One jUnit test was added that forces defragmentation of a resource on first update to check if the process finishes and the update went through.