8000 Cleanup in preparation for Replication 2.0 transaction handling (try #2) by goedderz · Pull Request #14907 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

Cleanup in preparation for Replication 2.0 transaction handling (try #2) #14907

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 18 commits into from
Nov 4, 2021
Merged
Changes from 1 commit
Commits
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
Improved the assertion on single server a little
  • Loading branch information
goedderz committed Oct 21, 2021
commit a77d0fa82d285f4ac99c65d3aad70ee975db385b
2 changes: 1 addition & 1 deletion arangod/Transaction/Manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ ResultT<TransactionId> Manager::createManagedTrx(TRI_vocbase_t& vocbase, VPackSl

Result Manager::ensureManagedTrx(TRI_vocbase_t& vocbase, TransactionId tid,
VPackSlice trxOpts, bool isFollowerTransaction) {
TRI_ASSERT(ServerState::instance()->isSingleServer() ||
TRI_ASSERT(ServerState::instance()->isSingleServer() && !isFollowerTransaction ||
tid.isFollowerTransactionId() == isFollowerTransaction);
transaction::Options options;
std::vector<std::string> reads, writes, exclusives;
Expand Down
0