{"push_id":2167889590,"size":2,"distinct_size":1,"ref":"refs/heads/gc-queue-improvement-3","head":"7c44ac335b8fd4c2285ae18295a22763861d2403","before":"fcb2372ec598e0eb01bdbdac99875016fee6d8f7","commits":[{"sha":"77c67553b70bd70c1c8d206e6f82fbaca3263492","author":{"name":"Spencer Kimball","email":"43d88d703c7bdc8f0e0140e90c0c34b9f645ad96@gmail.com"},"message":"storage: move txn intent cleanup out of GC critical path, & GC keys early\n\nThis change first moves the cleanup of potentially \"fat\" transactions out\nof the GC critical path by sending them to the intent resolver's asynchronous\ncleanup mechanism. This prevents a txn laden with significant numbers of\nunresolved intents from gumming up the GC queue and experiencing context\ntimeouts.\n\nMoved GC of keys scanned during the GC process to execute before intents\nencountered during the scan are processed. This makes progress in the GC\nqueue more likely and greatly lessens the chance of a stubborn range\nentering into an infinite GC loop.\n\nRemoved unused code for the `ResolveOptions.Wait` boolean and changed\n`intentResolver.resolveIntents` to send batches of 100 serially with a new\ntimeout for each batch. In concert with this, removed the timeout previously\nset in `intentResolver.processIntents`.\n\nRelease note: improve garbage collection of very large transactions and\nlarge volumes of abandoned writes (intents).","distinct":false,"url":"https://api.github.com/repos/spencerkimball/cockroach/commits/77c67553b70bd70c1c8d206e6f82fbaca3263492"},{"sha":"7c44ac335b8fd4c2285ae18295a22763861d2403","author":{"name":"Spencer Kimball","email":"43d88d703c7bdc8f0e0140e90c0c34b9f645ad96@gmail.com"},"message":"storage: general GC / intent resolution cleanup\n\nThe goal with this PR is to move the gc queue to use the intent\nresolver's machinery entirely. This is accomplished by widening\nthe `intentResolver` API so that it can be used by `gcQueue`\nwithout having to synthesize an `EndTransaction` request.","distinct":true,"url":"https://api.github.com/repos/spencerkimball/cockroach/commits/7c44ac335b8fd4c2285ae18295a22763861d2403"}]}
{"actor":{"display_login":"spencerkimball"}}