summaryrefslogtreecommitdiff
path: root/controller/PostgreSQL.cpp
AgeCommit message (Collapse)Author
2021-06-04remove some noisy log lines & fix a query errorGrant Limberg
2021-06-04check for nullsGrant Limberg
2021-06-03linux docker buildGrant Limberg
2021-06-03Big SSO updateGrant Limberg
make things hopefully work
2021-06-02set a default and goes boom 🤦‍♂️Grant Limberg
2021-06-02database versionGrant Limberg
2021-06-02make sure to commit on online notification threadGrant Limberg
2021-06-02debug printf typo & line breakGrant Limberg
2021-06-02bug fixes & debug codeGrant Limberg
2021-06-02transiton to libpqxx & connection pool for central controllersGrant Limberg
2021-05-28fixGrant Limberg
2021-05-28formattingGrant Limberg
2021-05-28Postgres code for SSO (almost certainly needs work)Adam Ierymenko
2020-10-05Revert "remove redundant writes when changes come from Central"Grant Limberg
This reverts commit f9396f979f82f39424dc36b2e81d52d0e00464e0.
2020-10-05remove redundant writes when changes come from CentralGrant Limberg
network & member changes tagged with `"fromCentral": true` will not be rewritten to the db
2020-09-10not sure how this got revertedGrant Limberg
2020-08-26missed a rollbackGrant Limberg
2020-08-26Merge branch 'dev-redis' into devGrant Limberg
2020-08-26Put upserts from controller into single transactionGrant Limberg
2020-08-25Merge branch 'dev' of http://git.int.zerotier.com/zerotier/ZeroTierOne into devAdam Ierymenko
2020-08-21Merge branch 'dev-redis' into devGrant Limberg
2020-08-21Sleep 10 seconds between writes to DBGrant Limberg
2020-08-20BSL date bumpAdam Ierymenko
2020-08-12single dns config per networkGrant Limberg
2020-08-12More debug logging cleanupGrant Limberg
2020-08-04debug outputGrant Limberg
2020-08-04forgot a couple queries in postgres. trying to pull dns of member not ↵Grant Limberg
network in embedded network controller also some debug logging
2020-07-27println for which notification stream the controller is listening toGrant Limberg
2020-07-23revert redis for member statusGrant Limberg
2020-06-04one more spotGrant Limberg
2020-06-04handle case of no networks and/or no membersGrant Limberg
2020-05-28No longer update both pgsql & redisGrant Limberg
2020-05-27bump online notification pause to 100msGrant Limberg
also put all online notification redis commands into a single tx
2020-05-27A little more cleanupGrant Limberg
2020-05-27list of all network-node pairsGrant Limberg
2020-05-27Temporary online notification thread hackGrant Limberg
Updates both Redis and Postgres
2020-05-27redis init optimizationGrant Limberg
2020-05-27Replace scan of Redis with iteration of _networks mapGrant Limberg
2020-05-22add online controller list in RedisGrant Limberg
2020-05-22fix typoGrant Limberg
2020-05-22keep list of active networks in redisGrant Limberg
2020-05-21reduce log chattinessGrant Limberg
2020-05-21fix connection to redis cluster in online notification threadGrant Limberg
2020-05-21Temp object was being destroyed before connection was usedGrant Limberg
2020-05-20include climits for LinuxGrant Limberg
2020-05-20Finalize Redis integrationGrant Limberg
2020-05-20Error recovery for network & member stream watchersGrant Limberg
2020-05-20error recovery in redis online notificationGrant Limberg
If a redis cluster member fails over to the slave, we'll get an error from not specifying the key for the insert. Recover from that instead of crashing the controller
2020-05-19TIL: Creating a redis transaction without sending any commands throws an ↵Grant Limberg
exception So let's not do that
2020-05-19Track member status in RedisGrant Limberg