无法使用 Nodetool 清除快照。快照永远不会被删除
Unable to clear snapshot using Nodetool. Snapshot is never deleted
当我 运行 nodetool clearsnapshot 我收到正常的 "Requested clearing snapshot(s)" 消息,但快照永远不会被删除。我能做些什么来解决发生这种情况的原因?我可以从表空间目录中手动删除快照目录作为解决方法吗?
节点工具清除快照 1472489985541
Requested clearing snapshot(s) for [1472489985541]
nodetool 列出快照 | awk '{print $1}' | grep ^1 |排序-u
1472489985541
1473165734236
1473690660090
1474296554367
Is it acceptable for me to just manually remove the snapshot directories from the tablespace directories as a workaround for this?
是的,您始终可以安全地手动删除快照目录。它们只是指向实际 SSTables
的硬链接
为了使用快照名称从所有键空间中删除快照,您必须在 clearsnapshot 命令中指定 -t 标志。
当我 运行 nodetool clearsnapshot 我收到正常的 "Requested clearing snapshot(s)" 消息,但快照永远不会被删除。我能做些什么来解决发生这种情况的原因?我可以从表空间目录中手动删除快照目录作为解决方法吗?
节点工具清除快照 1472489985541
Requested clearing snapshot(s) for [1472489985541]
nodetool 列出快照 | awk '{print $1}' | grep ^1 |排序-u
1472489985541
1473165734236
1473690660090
1474296554367
Is it acceptable for me to just manually remove the snapshot directories from the tablespace directories as a workaround for this?
是的,您始终可以安全地手动删除快照目录。它们只是指向实际 SSTables
的硬链接为了使用快照名称从所有键空间中删除快照,您必须在 clearsnapshot 命令中指定 -t 标志。