8000 Make all synchronous transaction methods set skipScheduler for network requests by goedderz · Pull Request #14810 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

Make all synchronous transaction methods set skipScheduler for network requests #14810

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 19 commits into from
Sep 23, 2021
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
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
Wrote a separate TODO note per method
  • Loading branch information
goedderz committed Aug 31, 2021
commit b1a33e5f4d3652fff16aada3be866a196695bccf
8000
12 changes: 10 additions & 2 deletions arangod/Transaction/Methods.h
Original file line number Diff line number Diff line change
Expand Up @@ -448,26 +448,34 @@ class Methods {
// The internal methods distinguish between the synchronous and asynchronous
// APIs via an additional parameter, so `skipScheduler` can be set for network
// requests.
// TODO Note that currently, the code was just moved from the async methods,
// and no code has yet been changed.
// TODO set skipScheduler: true for network requests
auto commitInternal(Api api) -> Future<Result>;
// TODO set skipScheduler: true for network requests
auto abortInternal(Api api) -> Future<Result>;
// TODO set skipScheduler: true for network requests
auto finishInternal(Result const& res, Api api) -> Future<Result>;
// is virtual for IgnoreNoAccessMethods
// TODO set skipScheduler: true for network requests
ENTERPRISE_VIRT auto documentInternal(std::string const& cname, VPackSlice value,
OperationOptions const& options, Api api)
-> Future<OperationResult>;
// TODO set skipScheduler: true for network requests
auto insertInternal(std::string const& collectionName, VPackSlice value,
OperationOptions const& options, Api api) -> Future<OperationResult>;
// TODO set skipScheduler: true for network requests
auto updateInternal(std::string const& collectionName, VPackSlice updateValue,
OperationOptions const& options, Api api) -> Future<OperationResult>;
// TODO set skipScheduler: true for network requests
auto replaceInternal(std::string const& collectionName, VPackSlice replaceValue,
OperationOptions const& options, Api api) -> Future<OperationResult>;
// TODO set skipScheduler: true for network requests
auto removeInternal(std::string const& collectionName, VPackSlice value,
OperationOptions const& options, Api api) -> Future<OperationResult>;
// TODO set skipScheduler: true for network requests
auto truncateInternal(std::string const& collectionName, OperationOptions const& options,
Api api) -> Future<OperationResult>;
// is virtual for IgnoreNoAccessMethods
// TODO set skipScheduler: true for network requests
ENTERPRISE_VIRT auto countInternal(std::string const& collectionName, CountType type,
OperationOptions const& options, Api api)
-> futures::Future<OperationResult>;
Expand Down
0