comdb2
comdb2 copied to clipboard
Bloomberg's distributed RDBMS
This patch adds options to disallow foreign-db queries and the Anonymous Identity, over client connections forwarded from the pmux secure port.
**Describe the bug** The database segfaults when it accesses `bdb_state->attr`, which is not set to a valid address. This is the crash backtrace, for reference: ``` (gdb) bt #0 bdb_attr_get...
3 things: - avoid reading llmeta during views update (lock inversion prevention) (ported https://github.com/bloomberg/comdb2/pull/4365 to main) - remove code and tunable sc_done_same_tran (only on going forward) - fix scdone for...
A few tweaks to the oldfile list logic to make it collect faster.
exclude token count check as we've hit stock sqlite limit. Also expand Expr.op field to u16 since we now have more than 255 tokens
**Describe the bug** sc_transactional_rowlocks_generated sometimes triggers a crash in the database when the database tries to free an invalid pointer. **To Reproduce** Run sc_transactional
Simple patch, use one shard to retrieve csc2 and make rebuild work. NOTE: rebuild work for partitions added to existing tables, because first tables are aliased and share the same...
**Describe the bug** A read fails. The db reports "[ERROR] Dta lookup lost the race for tbl t1 genid=4863190 (4a34d6) [new]" **To Reproduce** Run sicountbug
**Describe the bug** When the processor thread commits a logical transaction, it [frees the `tran_type` struct associated with that transaction](https://github.com/bloomberg/comdb2/blob/3d8e861b64b827075dc05a2cd047bea4bec60aef/bdb/rowlocks.c#L2169); however, the pointer to this struct is still stored as...