logicalclocks / rondb

This is RonDB, a distribution of NDB Cluster developed and used by Hopsworks AB. It also contains development branches of RonDB.
https://www.rondb.com
Other
585 stars 45 forks source link

RONDB-693: API Key cache rewrite #526

Closed mronstro closed 1 month ago

mronstro commented 1 month ago

Major rewrite of API Key cache to have enough protection and still have a fairly high throughput.

Fixed usage of ndb_init and ndb_end, should be at beginning of main function and at end of the same. Meant removing it from init_rondb_connection and shutdown_rondb_connection.

Fixed compile issue with json_parser.cpp

Fixed API Key unit test program to properly initialise API Key cache before each test case.

Added lots of debugging for finding issues now and in the future.

Aligned build process with how RonDB programs are built.

Fixed minor issue in ronsql_dal in rdrs_dal.h.

Rewrote API Key and its test cases to use RonDB portability layer where appropriate.