8000 Start up server HTTP interface earlier by jsteemann · Pull Request #16181 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

Start up server HTTP interface earlier #16181

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

Merged
merged 41 commits into from
May 19, 2022
Merged
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
6f8694f
Start up server HTTP interface earlier
jsteemann Apr 27, 2022
cc97f97
try to fix compile issue
jsteemann Apr 27, 2022
3e0ed00
Merge branch 'devel' into feature/open-http-interface-earlier
jsteemann Apr 28, 2022
3819029
Merge branch 'devel' into feature/open-http-interface-earlier
jsteemann Apr 28, 2022
e91c6d1
Merge branch 'devel' of github.com:arangodb/arangodb into feature/ope…
jsteemann Apr 28, 2022
271a958
fix MSVC build
jsteemann Apr 28, 2022
1e0d3ab
fix agency startup when gossip peers return HTTP 503
jsteemann Apr 28, 2022
bcb72c0
cleanup
jsteemann Apr 28, 2022
655fe69
Merge branch 'devel' of github.com:arangodb/arangodb into feature/ope…
jsteemann Apr 28, 2022
47de585
Merge branch 'devel' into feature/open-http-interface-earlier
jsteemann Apr 29, 2022
5ec532d
Merge branch 'devel' of github.com:arangodb/arangodb into feature/ope…
jsteemann Apr 29, 2022
4e33805
Merge branch 'devel' of github.com:arangodb/arangodb into feature/ope…
jsteemann May 2, 2022
f32adb4
added startup option `--server.allow-early-connections`
jsteemann May 2, 2022
c37af3d
intermediate commit
jsteemann May 2, 2022
8d9cf61
intermediate commit
jsteemann May 2, 2022
6c8a09c
intermediate commit
jsteemann May 3, 2022
374dd40
Merge branch 'devel' of github.com:arangodb/arangodb into feature/ope…
jsteemann May 3, 2022
dc9f648
intermediate commit
jsteemann May 3, 2022
47192eb
fix testsuites
jsteemann May 3, 2022
39ddace
Merge branch 'devel' of github.com:arangodb/arangodb into feature/ope…
jsteemann May 3, 2022
b7a8049
make tests work
jsteemann May 3, 2022
f88b917
fix test
jsteemann May 3, 2022
25153a7
Merge branch 'devel' of github.com:arangodb/arangodb into feature/ope…
jsteemann May 9, 2022
36cb0ab
Merge branch 'devel' of github.com:arangodb/arangodb into feature/ope…
jsteemann May 11, 2022
f9655a0
Merge branch 'devel' of github.com:arangodb/arangodb into feature/ope…
jsteemann May 11, 2022
67d178b
Merge branch 'feature/open-http-interface-earlier' of github.com:aran…
jsteemann May 11, 2022
9637694
better progress reporting
jsteemann May 11, 2022
f830c7b
updated CHANGELOG
jsteemann May 11, 2022
17ea770
Merge branch 'devel' of github.com:arangodb/arangodb into feature/ope…
jsteemann May 12, 2022
05f9d78
Merge branch 'devel' into feature/open-http-interface-earlier
jsteemann May 13, 2022
93d1813
Merge branch 'devel' of github.com:arangodb/arangodb into feature/ope…
jsteemann May 13, 2022
e7f8765
Merge branch 'devel' of github.com:arangodb/arangodb into feature/ope…
jsteemann May 16, 2022
be60a2c
Merge branch 'devel' of github.com:arangodb/arangodb into feature/ope…
jsteemann May 17, 2022
977c6e9
Merge branch 'devel' into feature/open-http-interface-earlier
jsteemann May 17, 2022
9a1d515
Merge branch 'devel' of github.com:arangodb/arangodb into feature/ope…
jsteemann May 17, 2022
bd247cf
fix overly long sleep duration in inception
jsteemann May 18, 2022
a65b750
Merge branch 'devel' of github.com:arangodb/arangodb into feature/ope…
jsteemann May 18, 2022
77158f1
Merge branch 'devel' of github.com:arangodb/arangodb into feature/ope…
jsteemann May 18, 2022
47daf1a
Merge branch 'devel' of github.com:arangodb/arangodb into feature/ope…
jsteemann May 19, 2022
3a0c0a3
added code comments
jsteemann May 19, 2022
fa778f4
Merge branch 'devel' of github.com:arangodb/arangodb into feature/ope…
jsteemann May 19, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
cleanup
  • Loading branch information
jsteemann committed Apr 28, 2022
commit bcb72c0582d09caa5bca7c968bcc7347c51cbd6a
7 changes: 4 additions & 3 deletions arangod/GeneralServer/CommTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include "Basics/EncodingUtils.h"
#include "Basics/HybridLogicalClock.h"
#include "Basics/StaticStrings.h"
#include "Basics/StringUtils.h"
#include "Basics/dtrace-wrapper.h"
#include "Cluster/ServerState.h"
#include "GeneralServer/AsyncJobManager.h"
Expand Down Expand Up @@ -711,8 +712,8 @@ CommTask::Flow CommTask::canAccessPath(auth::TokenCache::Entry const& token,
if (result == Flow::Abort) {
std::string const& username = req.user();

if (path == "/" || StringUtils::isPrefix(path, Open) ||
StringUtils::isPrefix(path, AdminAardvark) ||
if (path == "/" || path.starts_with(Open) ||
path.starts_with(AdminAardvark) ||
path == "/_admin/server/availability") {
// mop: these paths are always callable...they will be able to check
// req.user when it could be validated
Expand All @@ -723,7 +724,7 @@ CommTask::Flow CommTask::canAccessPath(auth::TokenCache::Entry const& token,
result = Flow::Continue;
// vc->forceReadOnly();
} else if (req.requestType() == RequestType::POST && !username.empty() &&
StringUtils::isPrefix(path, ApiUser + username + '/')) {
path.starts_with(ApiUser + username + '/')) {
// simon: unauthorized users should be able to call
// `/_api/users/<name>` to check their passwords
result = Flow::Continue;
Expand Down
0