我试图将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
知道如何防止这种情况发生吗?
答案 0 :(得分:0)
我弄明白了这个问题。我错过了cluster_data目录。我需要能够使用索引恢复数据。