8000 Allow startup of arangod with an existing database (#14760) · arangodb/arangodb@0168cd1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0168cd1

Browse files
authored
Allow startup of arangod with an existing database (#14760)
directory that was missing the ZkdIndex column family.
1 parent 42ec01c commit 0168cd1

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
devel
22
-----
33

4+
* Allow startup of arangod with an existing database directory that was missing
5+
the ZkdIndex column family.
6+
47
* Truncate must not trigger intermediate commits while in a streaming
58
transaction, because that would be against the assumption that
69
streaming transactions never do intermediate commits.

arangod/RocksDBEngine/RocksDBEngine.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ void RocksDBEngine::start() {
747747
auto const replicatedLogsName = RocksDBColumnFamilyManager::name(
748748
RocksDBColumnFamilyManager::Family::ReplicatedLogs);
749749
auto const zkdIndexName = RocksDBColumnFamilyManager::name(
750-
RocksDBColumnFamilyManager::Family::ReplicatedLogs);
750+
RocksDBColumnFamilyManager::Family::ZkdIndex);
751751

752752
for (auto const& it : cfFamilies) {
753753
auto it2 = std::find(existingColumnFamilies.begin(),

0 commit comments

Comments
 (0)
0