0

我正在尝试将 Riak 恢复到一个新实例(单节点,无环)。我重命名节点并使用riak-admin reip命令更新配置。但是,当我启动 Riak 并且一旦 Yokozuna 启动时,Yokozuna 会删除目录中已恢复的索引yz。这是我在日志中看到的内容:

2017-12-05 23:01:00.130 [info] <0.3554.0>@riak_kv_index_hashtree:build_or_rehash:1055 Starting AAE tree build: 91343852333181432387730302044767688728495783936 2017-12-05 23:01:11.030 [info] <0.3396.0>@yz_events:sync_indexes:263 Delta: Removed: [<<"audit">>,<<"default">>,<<"finder">>] Added: [] Same: [] 2017-12-05 23:01:11.124 [info] <0.3396.0>@yz_index:local_remove:315 Unloaded previous instance of index audit 2017-12-05 23:01:11.158 [info] <0.3396.0>@yz_index:local_remove:315 Unloaded previous instance of index default 2017-12-05 23:01:11.205 [info] <0.3396.0>@yz_index:local_remove:315 Unloaded previous instance of index finder
知道如何防止这种情况发生吗?

4

1 回答 1

0

我解决了这个问题。我错过了 cluster_data 目录。我需要它才能使用索引恢复数据。

于 2017-12-12T01:31:34.587 回答