Better HN
topnewbestaskshowjobs
Log inSign up

itsbilal

18 karma · joined Jul 28, 2015 (11y ago) · 4 submissions

Submissions

1.

Faster Bulk-Data Loading in CockroachDB(cockroachlabs.com ↗)

14 points · by itsbilal · 6y ago · discuss

comment 6y ago · link · parent

Hi, I'm on the team that works on Pebble. Partially synced WAL records are easier to detect, as they would just appear as corrupt records and we can stop WAL replay at that point. Non-WAL writes are even easier to handle as SSTable files are immutable once fully written and synced. We rely pretty heavily on fsync/fdatasync calls to guarantee that "all" the data in a given range made it.

In addition to randomized crash tests, we have a suite of end-to-end integration tests on top of Cockroach, called Roachtests, that put clusters under a combination of node crash/restart scenarios and confirm data consistency.

comment 7y ago · link · parent

Wow, this is as blatant as it gets.

comment 9y ago · link · parent

Permanent residency*, which is a lot quicker to get than citizenship.