~/talk

From timeout to sub-second: solving scale dependent deadlocks in distributed systems

links:none on file
slides:none on file

A production-only deadlock in Apache HBase surfaces once clusters exceed about 50 region servers: a disaster-recovery log-roll pipeline repeatedly hits a 60-second timeout because a redundant synchronous RPC creates a circular dependency between region servers and the HMaster. Diagnosis uses synchronized thread dumps collected across many nodes to prove the blocked threads, and a small code change — removing an unnecessary namespace/table existence check during the global barrier — collapses the failing operation from 60s to a few hundred milliseconds.

AI-written summary · about

  1. 0:00Introduction
  2. 0:42Scale at Flipkart and HBS basics
  3. 2:09HBS architecture and WAL log roll
  4. 4:15Why backup needs log roll and checkpointing
  5. 6:03Problem statement and observations
  6. 7:49Hypotheses testing and timeouts
  7. 9:11Debugging with logs and thread analysis
  8. 11:22Deadlock in log roll procedure
  9. 13:08Proving deadlock with thread dumps
  10. 14:34Scale impact on deadlocks
  11. 15:38Root cause and solution
  12. 16:41Fix deployment and performance
  13. 17:03Key learnings
  14. 18:49Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.