What does a lease give a leader?
- A bounded window of authority without asking
- A faster disk so writes finish before reads start
- A new network address that other nodes must obey
What must every read set and write set do?
- Avoid sharing nodes so reads never wait for writes
- Intersect in at least one shared node
- Contain every node in the cluster, always
Switching a cluster from its old member set to a new one in a single step is safe.
Circle one: True False
Seven nodes run read quorum 3. What is the smallest write quorum that still overlaps every read?
Answer: ______________
A read-heavy photo site runs on six nodes and wants cheap reads that still overlap every write. Which pairing fits?
- Read 5 with write 2
- Read 2 with write 4
- Read 2 with write 5
Clocks skew badly across the cluster. What threatens the leader's lease?
- A rival leader that also believes it is in charge
- Disk writes that finish faster than the lease allows
- Log entries that grow too long to send in time
A cluster must move from members A, B and C to members A, B, C, D and E. Which plan avoids two leaders?
- Let each node switch to the new set when it hears the news
- Use a joint stage needing a majority of old and of new
- Switch every node at once, then hold the election afterwards
Read 1 plus write 1 on five nodes is proposed for speed. What is the flaw?
- Nothing, it is the fastest pair that stays correct
- One-node sets cannot be used on a cluster of five nodes
- The sets need not meet, so a read can miss the write