- 快召唤伙伴们来围观吧
- 微博 QQ QQ空间 贴吧
- 文档嵌入链接
- 复制
- 微信扫一扫分享
- 已成功复制到剪贴板
Real world tales of repair - Apache BigData
展开查看详情
1 .Real world tales of repair
2 . APACHE BIGDATA - MAY 2017 Alexander Dejanovski @alexanderdeja Consultant www.thelastpickle.com Datastax MVP for Apache Cassandra Licensed under a Creative Commons Attribution-NonCommercial 3.0 New Zealand License
3 .About The Last Pickle We help people deliver and improve Apache Cassandra based solutions. With staff in 5 countries : New Zealand, Australia, France, Spain, USA
4 . What and why ? Full repair Incremental repair How to make it work www.thelastpickle.com
5 .What is repair ? A maintenance operation that restores strong consistency throughout the cluster www.thelastpickle.com
6 .Why do we need repair ? - Eventual consistency - Downtime / failure recovery - Safe deletes www.thelastpickle.com
7 .Tombstones need repair too Missing tombstones can lead to zombie data (repair within gc_grace_seconds) www.thelastpickle.com
8 .Tombstones need repair too www.thelastpickle.com
9 .Tombstones need repair too www.thelastpickle.com
10 .Tombstones need repair too www.thelastpickle.com
11 .Tombstones need repair too www.thelastpickle.com
12 .Tombstones need repair too www.thelastpickle.com
13 .Tombstones need repair too www.thelastpickle.com
14 . What and why ? Full repair Incremental repair How to make it work www.thelastpickle.com
15 .How does anti-entropy repair works ? Reads all data www.thelastpickle.com
16 .How does anti-entropy repair works ? Reads all data Calculates hashes www.thelastpickle.com
17 .How does anti-entropy repair works ? Reads all data Calculates hashes Compares hashes www.thelastpickle.com
18 .How does anti-entropy repair works ? Reads all data Calculates hashes Compares hashes Streams mismatching partitions www.thelastpickle.com
19 .How does anti-entropy repair works ? www.thelastpickle.com
20 .Merkle tree is requested to all replicas www.thelastpickle.com
21 .Validation compaction www.thelastpickle.com
22 .Merkle tree comparison www.thelastpickle.com
23 .Streaming www.thelastpickle.com
24 .How do we run repair ? nodetool repair www.thelastpickle.com
25 .Improving repair www.thelastpickle.com
26 .Improving repair www.thelastpickle.com
27 .Improving repair www.thelastpickle.com
28 .Improving repair repairing each range once is enough www.thelastpickle.com
29 .Improving repair nodetool repair -pr www.thelastpickle.com