8000 Make AQL modification operations asynchronous by goedderz · Pull Request #21068 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

Make AQL modification operations asynchronous #21068

New is 10000 sue

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 29 commits into from
Jun 20, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
c787f51
Try to avoid synchronous waiting in AQL, and fix transaction lifetime…
goedderz Jun 6, 2024
a610077
Make the Query's resource monitor a shared_ptr
goedderz Jun 11, 2024
e16a0b4
Merge branch 'devel' of github.com:arangodb/arangodb into feature/mak…
goedderz Jun 11, 2024
2bd1475
Revert "Try to avoid synchronous waiting in AQL, and fix transaction …
goedderz Jun 11, 2024
6537d4b
Merge branch 'feature/make-query-resource-monitor-shared' into featur…
goedderz Jun 11, 2024
ee1b40d
Merge branch 'devel' of github.com:arangodb/arangodb into feature/mak…
goedderz Jun 13, 2024
effb1b8
Included review comments
goedderz Jun 13, 2024
b3ca915
Merge branch 'feature/make-query-resource-monitor-shared' of github.c…
goedderz Jun 17, 2024
5096702
Shorten BuilderLeaser lifetimes, and copy vocbase name
goedderz Jun 17, 2024
843f341
Added a maintainer-mode assertion
goedderz Jun 17, 2024
39522be
Serialize DBServer modification operations
goedderz Jun 17, 2024
193dc63
Merge branch 'devel' of github.com:arangodb/arangodb into feature/mak…
goedderz Jun 17, 2024
413fabc
Fixed gtests and CE compilation
goedderz Jun 17, 2024
68556fd
Fixed gtests
goedderz Jun 17, 2024
261fba2
Clean references to SharedAqlItemBlockPtr early enough
goedderz Jun 17, 2024
807fcb6
Fixed CE compilation
goedderz Jun 17, 2024
b821948
Merge branch 'devel' of github.com:arangodb/arangodb into feature/mak…
goedderz Jun 17, 2024
5543ebc
Merge branch 'feature/make-query-resource-monitor-shared' of github.c…
goedderz Jun 17, 2024
fb5beea
Make assertion concurrency-safe
goedderz Jun 17, 2024
afedb52
Unify handling of BuilderLeasers in processors
goedderz Jun 17, 2024
c4e42e5
Make internal gather nodes non-parallel in all cases
goedderz Jun 19, 2024
1b2d37d
Merge branch 'devel' of github.com:arangodb/arangodb into feature/mak…
goedderz Jun 19, 2024
ec9f11b
Update arangod/Transaction/Methods.cpp
goedderz Jun 20, 2024
d999326
Update arangod/Transaction/Methods.cpp
goedderz Jun 20, 2024
8ee9cc7
Merge branch 'devel' of github.com:arangodb/arangodb into feature/mak…
goedderz Jun 20, 2024
d8f6c20
Added CHANGELOG entry
goedderz Jun 20, 2024
d9bd683
Merge branch 'feature/make-aql-modifications-async' of github.com:ara…
goedderz Jun 20, 2024
d515b99
Avoid SIGSEGV when a database gets deleted mid-transaction
goedderz Jun 20, 2024
af69ed3
Merge branch 'devel' of github.com:arangodb/arangodb into feature/mak…
goedderz Jun 20, 2024
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
Included review comments
  • Loading branch information
goedderz committed Jun 13, 2024
commit effb1b80b3053a7d4a4687b1600ce042617f5535
3 changes: 2 additions & 1 deletion arangod/RocksDBEngine/Methods/RocksDBTrxMethods.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,8 @@ void RocksDBTrxMethods::beginQuery(
std::shared_ptr<ResourceMonitor> resourceMonitor,
bool isModificationQuery) {
// report to parent
RocksDBTrxBaseMethods::beginQuery(resourceMonitor, isModificationQuery);
RocksDBTrxBaseMethods::beginQuery(std::move(resourceMonitor),
isModificationQuery);

if (!_state->hasHint(transaction::Hints::Hint::GLOBAL_MANAGED)) {
// don't bother with query tracking in non globally managed trx
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ void ReplicatedRocksDBTransactionCollection::beginQuery(
bool isModificationQuery) {
auto* trxMethods = dynamic_cast<RocksDBTrxMethods*>(_rocksMethods.get());
if (trxMethods) {
trxMethods->beginQuery(resourceMonitor, isModificationQuery);
trxMethods->beginQuery(std::move(resourceMonitor), isModificationQuery);
}
}

Expand Down
2 changes: 1 addition & 1 deletion arangod/RocksDBEngine/RocksDBMethodsMemoryTracker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ void RocksDBMethodsMemoryTracker::beginQuery(
if (_resourceMonitor == nullptr && resourceMonitor != nullptr) {
TRI_ASSERT(_memoryUsageAtBeginQuery == 0);

_resourceMonitor = resourceMonitor;
_resourceMonitor = std::move(resourceMonitor);
_memoryUsageAtBeginQuery = _memoryUsage;
}
}
Expand Down
2 changes: 1 addition & 1 deletion arangod/RocksDBEngine/SimpleRocksDBTransactionState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ void SimpleRocksDBTransactionState::beginQuery(
bool isModificationQuery) {
auto* trxMethods = dynamic_cast<RocksDBTrxMethods*>(_rocksMethods.get());
if (trxMethods) {
trxMethods->beginQuery(resourceMonitor, isModificationQuery);
trxMethods->beginQuery(std::move(resourceMonitor), isModificationQuery);
}
}

Expand Down
0