morgando
morgando
Wrote functions to generate BigInts when given min/max range values (BigInt, string, and long long). Wrote and ran some tests to check for desired behavior.
**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...
**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
**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...
**Describe the bug** sc_timepart sometimes causes the database to become unavailable. At least one of these times it was because the database aborted after [this `Pthread_mutex_lock`](https://github.com/bloomberg/comdb2/blob/main/db/osqlblockproc.c#L1353) returned EINVAL. Memory may...
The modsnap snapshot implementation is not enabled by default right now. The changes in this PR make it the default snapshot implementation while keeping it disabled in the legacy configuration....
**Describe the bug** The comdb2sys test is failing because [testindexusage](https://github.com/bloomberg/comdb2/blob/main/tests/comdb2sys.test/testindexusage) is failing. It is unclear whether this is due to a bug in the db or a bug in the...
The changes in this PR - Cause adds to the commit LSN map to fail if the LSN being added is less than the largest LSN in the map. -...
Depends on: #4591 The changes in this PR implement SQL-based import. Clients will now be able to import a table by running `IMPORT FROM TO `. `src_tablename` and `dst_tablename` must...