comdb2
comdb2 copied to clipboard
Bloomberg's distributed RDBMS
porting https://github.com/bloomberg/comdb2/pull/2921 to master
On Macbook, the DROP TABLE in the following sequence of commands could randomly hang while trying to acquire write lock on dbtable->sc_live_lk. ```sql create table test(i int)$$ alter table test...
This allows for quite a large chunk (700MB) of memory to be released on exit making it easier to see other leaks (to be tackled in the future). Also cleanup...
This change fixes an inefficiency in cdb2api for large insert transactions: we traverse the entire list when appending last sql to the list of stmts of a txn (used by...
A write transaction is translated to a sequence of OSQL operations. Each OSQL operation is shipped to the master from a replicant. When an OSQL packet arrives at the master,...
/plugin-branch persist-luxref
Throw errors on db:insert() failures in lua/sp.c: 1) from prepare, ex. wrong column name 2) from executing insert, ex. bad data conversion 3) from emitting error out of range --...
Include statement cost and extended cost as part of lastresponse so we avoid extra call to the db to get cost. * Always return numeric value of cost * If...