AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Debugging a Cockroach Process in a Loop
Cockroach version would reproduce it, but it would take upwards of a day and tens of thousands of iterations. And I eventually found that there was a subset of the Omicron test suite that I could run that would reproduce it in about three minutes. So that was pretty reliable and much faster. But it was a lot harder because there was a zillion thing going on in like a bunch of different Cockroach processes and parallel and stuff like that. In terms of the tactics is your understanding the way the runtime works and the GC works, the memory allocator works,. One of the things that I love that you did along the way is effectively adding your own type definitions so you could