mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
* serverless sqldb use same env for test config as normal * rip boltdb implementation of controller backend out it was replaced by postgres and no longer works properly. This involved migrating a number of tests which only worked with boltdb, which exposed several ways in which the postgres implementation had slightly different behavior from the bolt one: 1. ordering of results in some cases, and 2. (more importantly) erroring when a record to delete was not found. The bolt implementation silently ignored it when things to delete weren't found, so we make some changes to match that behavior. Also stopped propagating CreatedAt and UpdatedAt from DB tables into dax types. These were breaking existing tests. Perhaps it would be better to actually use them, but for now they will only exist at the DB level. This change set also moves the insertion of the directive_versions record out of migrations and into the startup/connection code. Having this in the migrations was a bit ugly because you couldn't just truncate all the tables and have everything work from scratch. Inserting it during startup is fairly innocuous, and will just continue on if it already exists. * update directive_version test I changed the initial value to 0 so that the first version that gets sent out is 1 |
||
|---|---|---|
| .. | ||
| testdata | ||
| auth_token.go | ||
| auth_token_internal_test.go | ||
| backup.go | ||
| backup_tar.go | ||
| backup_tar_test.go | ||
| backup_test.go | ||
| chksum.go | ||
| chksum_test.go | ||
| common.go | ||
| config.go | ||
| config_test.go | ||
| dataframe-csv-loader.go | ||
| dataframe-csv-loader_test.go | ||
| dax.go | ||
| doc.go | ||
| export.go | ||
| export_test.go | ||
| generate_config.go | ||
| generate_config_test.go | ||
| import.go | ||
| import_test.go | ||
| keygen.go | ||
| keygen_test.go | ||
| main_test.go | ||
| parquet-info.go | ||
| presort.go | ||
| presort_test.go | ||
| rbf_check.go | ||
| rbf_check_test.go | ||
| rbf_dump.go | ||
| rbf_dump_test.go | ||
| rbf_page.go | ||
| rbf_page_test.go | ||
| rbf_pages.go | ||
| rbf_pages_test.go | ||
| restore.go | ||
| restore_tar.go | ||
| restore_tar_test.go | ||
| restore_test.go | ||
| server.go | ||
| server_test.go | ||
| util.go | ||