Riak 搜索在还原时删除索引

Riak with Search On Dropping Indexes on Restore

我正在尝试将 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
知道如何防止这种情况发生吗?

我找到问题了。我错过了 cluster_data 目录。我需要它来恢复带有索引的数据。