Grokking the Advanced System Design Interview
Ask Author
Back to course home

0% completed

Master Election and Chubby Events

This lesson will explain what actions a newly elected master performs. Additionally, we will look into different Chubby events.

Initializing a newly elected master

A newly elected master proceeds as follows:

  1. Picks epoch number: It first picks up a new client epoch number to differentiate itself from the previous master. Clients are required to present the epoch number on every call. The master rejects calls from clients using older epoch numbers. This ensures that the new master will not respond to a very old packet that was sent to the previous master. 2




Like the course? Get enrolled and start learning!