91 Commits (36fe7d394ba5179e8261c589e006e38ea33f9695)

Author SHA1 Message Date
Vitaliy Filippov 36fe7d394b EPOLLLT 1 year ago
Vitaliy Filippov 0aca6e9ca8 Extract peer connect and read-write loop into a separate file (to be shared with the client library) 1 year ago
Vitaliy Filippov fa98be6bc0 Allow to specify multiple etcd addresses 1 year ago
Vitaliy Filippov 79bf57b6e2 Allow to override pg_stripe_size 1 year ago
Vitaliy Filippov 6488d0044a Ignore EPOLL_CTL_DEL ENOENT, fix detection of the rollback version 1 year ago
Vitaliy Filippov 393fe75900 Fix creepy (osd_op_t*)(long) casts 1 year ago
Vitaliy Filippov e56909fb45 Remove tv_send (unused) and timerfd_interval from blockstore 1 year ago
Vitaliy Filippov 9f842ec9a5 Remove connect callback because it is always the same 1 year ago
Vitaliy Filippov f6a01a4819 Extract "state-watching" etcd client into a separate file 1 year ago
Vitaliy Filippov 6202260018 Extract HTTP client functions from osd_t 1 year ago
Vitaliy Filippov a61ede9951 Remove io_uring usage from osd_http and timerfd_manager 1 year ago
Vitaliy Filippov c2c2eefea4 Duplicate host in osd/state and osd/stats, take PGs from /config/pgs.items 1 year ago
Vitaliy Filippov 5084ff7c6c Measure & report recovery op count and bandwidth 1 year ago
Vitaliy Filippov f71d0c117b Measure & report op bandwidth, include local blockstore ops in stats 1 year ago
Vitaliy Filippov e8149e5848 Implement OSD_OP_DELETE 1 year ago
Vitaliy Filippov 6355b968f4 Track osd_set history and all_peers separately 1 year ago
Vitaliy Filippov 1bc08174f9 Sync before listing objects so flushes do not fail thereafter 1 year ago
Vitaliy Filippov cd87333091 Fix PG state comparison leading to unclean PGs not flushing 1 year ago
Vitaliy Filippov 7b57eeeeb3 Implement PG state locking and PG moving in response to etcd events 2 years ago
Vitaliy Filippov 268b497c0b Implement simple websocket client 2 years ago
Vitaliy Filippov 35481925b1 Implement very simple HTTP streaming to handle etcd watches 2 years ago
Vitaliy Filippov caa01c6aaf Acquire etcd leases, prevent starting two OSDs with the same number 2 years ago
Vitaliy Filippov 0f2b8dbf6f Use a single timerfd_manager for all timers 2 years ago
Vitaliy Filippov 4f42e9659e Use etcd instead of Consul 2 years ago
Vitaliy Filippov 2a640ba2e8 Remove range port selection (leads to races) 2 years ago
Vitaliy Filippov 6a21ea207e Check peer config (at least, number) after connecting 2 years ago
Vitaliy Filippov 642802b595 Auto-select port numbers 2 years ago
Vitaliy Filippov ff38b464a5 Add consul & connect timeouts, report state before loading PGs, move init_primary to osd_cluster 2 years ago
Vitaliy Filippov f95299b769 Take PG history into account when starting PGs 2 years ago
Vitaliy Filippov 2a8e40835e Fix reporting to Consul, report even if we are purely secondary 2 years ago
Vitaliy Filippov 309486d746 Implement loading PGs from Consul (in theory) 2 years ago
Vitaliy Filippov 089b4eb208 Retry consul connection attempts and then die 2 years ago
Vitaliy Filippov 37b27c3025 Implement basic OSD status reporting to Consul 2 years ago
Vitaliy Filippov d11e8dcb5e Do not flush or recover in readonly mode 2 years ago
Vitaliy Filippov 298b013eae Add simple http request function 2 years ago
Vitaliy Filippov d59be0e8b4 Delete misplaced chunks after moving the object, reset object state in primary_write 2 years ago
Vitaliy Filippov 6212195440 Implement parallel recovery 2 years ago
Vitaliy Filippov dfb6e15eaa Implement graceful stopping of PGs 2 years ago
Vitaliy Filippov afe2e76c87 Implement regular automatic syncs, split osd_t constructor into some methods 2 years ago
Vitaliy Filippov 0f43f6d3f6 Fix crashes, print some stats 2 years ago
Vitaliy Filippov 92c800bb64 Forget unstable writes when re-peering, rename parity_block_size -> pg_stripe_size, pg_parity_size -> pg_block_size 2 years ago
Vitaliy Filippov 8a8b619875 Handle secondary OSD connection errors [in theory] 2 years ago
Vitaliy Filippov c0a22d825d Fix degraded object recovery (it seems to work now) 2 years ago
Vitaliy Filippov 250f22c0b6 Implement basic degraded object recovery (integrated into primary_write) 2 years ago
Vitaliy Filippov dbd8418798 Reply using a single finish_op() method, allow to call OSD ops from inside the OSD 2 years ago
Vitaliy Filippov 21d0b06959 Implement flushing (stabilize/rollback) of unstable entries on start of the PG 2 years ago
Vitaliy Filippov 31f9445030 Use immediate_commit to benefit the primary OSD 2 years ago
Vitaliy Filippov 8315407558 Incoming data pre-buffering 2 years ago
Vitaliy Filippov b27ad550cf Use btree_map instead of sparsepp 2 years ago
Vitaliy Filippov 20125db181 Use clock_gettime() 2 years ago