8000 fix truncate operation in synchronous replication (#10492) · arangodb/arangodb@d3b00d6 · GitHub
[go: up one dir, main page]

Skip to content

Commit d3b00d6

Browse files
authored
fix truncate operation in synchronous replication (#10492)
1 parent 9f4926b commit d3b00d6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arangod/Transaction/Methods.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2457,6 +2457,8 @@ Future<OperationResult> transaction::Methods::truncateLocal(std::string const& c
24572457
"/_api/collection/" + arangodb::basics::StringUtils::urlEncode(collectionName) +
24582458
"/truncate";
24592459
VPackBuffer<uint8_t> body;
2460+
VPackSlice s = VPackSlice::emptyObjectSlice();
2461+
body.append(s.start(), s.byteSize());
24602462

24612463
// Now prepare the requests:
24622464
std::vector<network::FutureRes> futures;

0 commit comments

Comments
 (0)
0