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

Fixed BTS-1543 #19715

Merged
merged 6 commits into from
Sep 5, 2023
Merged

Fixed BTS-1543 #19715

merged 6 commits into from
Sep 5, 2023

Conversation

jsteemann
Copy link
Contributor

@jsteemann jsteemann commented Sep 4, 2023

Scope & Purpose

Fixed BTS-1543: https://arangodb.atlassian.net/browse/BTS-1543

  • client tools (e.g. arangoexport) don't refuse to start up with the error output directory ... is not empty, use --overwrite true to overwrite the data in it if the output directory only contains the ENCRYPTION file. This is a special case, which can easily occur when invoking any of the client tools with wrong arguments. In this case no harm is done when allowing the tool to run anyway, even without the --overwrite true flag. This will potentially clobber the ENCRYPTION file, but it is safe to do because we restrict this to the situation when the directory only contains the ENCRYPTION file.

  • allow invoking client tools and arangod with https://- and http://- prefixed endpoints. This is more user-friendly than the previously supported ssl://- and tcp://-prefixed endpoints. End users are familiar with using https:// and http:// than our ssl:// or tcp:// endpoints. Internally, https:// will be converted to ssl://, and http:// will be converted to tcp://.

  • 💩 Bugfix

  • 🍕 New feature

  • 🔥 Performance improvement

  • 🔨 Refactoring/simplification

Checklist

  • Tests
    • Regression tests
    • C++ Unit tests
    • integration tests
    • resilience tests
  • 📖 CHANGELOG entry made
  • 📚 documentation written (release notes, API changes, ...)
  • Backports
    • Backport for 3.11: (Please link PR)
    • Backport for 3.10: (Please link PR)

Related Information

- client tools (e.g. arangoexport) don't refuse to start up with the error
  `output directory ... is not empty, use --overwrite true to overwrite the
  data in it if the output directory *only* contains the `ENCRYPTION` file.
  This is a special case, which can easily occur when invoking any of the
  client tools with wrong arguments. In this case no harm is done when
  allowing the tool to run anyway, even without the `--overwrite true` flag.
  This will potentially clobber the `ENCRYPTION` file, but it is safe to do
  because we restrict this to the situation when the directory *only*
  contains the `ENCRYPTION` file.
- allow invoking client tools and arangod with `https://`- and `http://`-
  prefixed endpoints.
  This is more user-friendly than the previously supported `ssl://`- and
  `tcp://`-prefixed endpoints. End users are familiar with using `https://`
  and `http://` than our `ssl://` or `tcp://` endpoints.
  Internally, `https://` will be converted to `ssl://`, and `http://` will
  be converted to `tcp://`.
@jsteemann jsteemann added this to the devel milestone Sep 4, 2023
@jsteemann jsteemann requested a review from a team as a code owner September 4, 2023 11:53
@cla-bot cla-bot bot added the cla-signed label Sep 4, 2023
* Fixed BTS-1531: Async cancel Job returns different error messages.
  Unify error messages for canceled jobs (error code 21) to "request canceled".
  Previously, the server could return different messages, either "request
  canceled", "request has been canceled by user" or "handler canceled".
This reverts commit 95a2e00.
@neunhoef neunhoef merged commit 068727e into devel Sep 5, 2023
@neunhoef neunhoef deleted the bug-fix/BTS-1543 branch September 5, 2023 06:15
CryptoNinjaGeek pushed a commit that referenced this pull request Sep 12, 2023
* Fixed BTS-1543:

- client tools (e.g. arangoexport) don't refuse to start up with the error
  `output directory ... is not empty, use --overwrite true to overwrite the
  data in it if the output directory *only* contains the `ENCRYPTION` file.
  This is a special case, which can easily occur when invoking any of the
  client tools with wrong arguments. In this case no harm is done when
  allowing the tool to run anyway, even without the `--overwrite true` flag.
  This will potentially clobber the `ENCRYPTION` file, but it is safe to do
  because we restrict this to the situation when the directory *only*
  contains the `ENCRYPTION` file.
- allow invoking client tools and arangod with `https://`- and `http://`-
  prefixed endpoints.
  This is more user-friendly than the previously supported `ssl://`- and
  `tcp://`-prefixed endpoints. End users are familiar with using `https://`
  and `http://` than our `ssl://` or `tcp://` endpoints.
  Internally, `https://` will be converted to `ssl://`, and `http://` will
  be converted to `tcp://`.

* fix CHANGELOG order

* BTS-1531

* Fixed BTS-1531: Async cancel Job returns different error messages.
  Unify error messages for canceled jobs (error code 21) to "request canceled".
  Previously, the server could return different messages, either "request
  canceled", "request has been canceled by user" or "handler canceled".

* Revert "BTS-1531"

This reverts commit 95a2e00.

* fix tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants