netmaker/pro/controllers
Abhishek K 5a561b3835
Net 1440 batchpeerupdate (#3042)
* NET-1440 scale test changes

* fix UT error and add error info

* load metric data into cacha in startup

* remove debug info for metric

* add server telemetry and hasSuperAdmin to cache

* fix user UT case

* update sqlite connection string for performance

* update check-in TS in cache only if cache enabled

* update metric data in cache only if cache enabled and write to DB once in stop

* update server status in mq topic

* add failover existed to server status update

* only send mq messsage when there is server status change

* batch peerUpdate

* code changes for scale for review

* update UT case

* update mq client check

* mq connection code change

* revert server status update changes

* revert batch peerUpdate

* remove server status update info

* batch peerUpdate

* code changes based on review and setupmqtt in keepalive

* set the mq message order to false for PIN

* remove setupmqtt in keepalive

* add peerUpdate batch size to config

* update batch peerUpdate

* recycle ip in node deletion

* update ip allocation logic

* remove ip addr cap

* remove ippool file

* update get extClient func

* remove ip from cache map when extClient is removed

* add batch peerUpdate switch

* set batch peerUpdate to true by default

---------

Co-authored-by: Max Ma <mayabin@gmail.com>
2024-08-16 15:35:43 +05:30
..
failover.go NET-1440: scale test changes (#3014) 2024-08-15 11:59:00 +05:30
inet_gws.go New Docs (#3034) 2024-08-15 11:55:01 +05:30
metrics.go fix(NET-1009): fix client connectivity metrics data (#2858) 2024-03-20 15:11:11 +07:00
middleware.go ACC-532: set mq clean session to true (#2865) 2024-03-20 15:03:41 +07:00
relay.go Net 1440 batchpeerupdate (#3042) 2024-08-16 15:35:43 +05:30
users.go New Docs (#3034) 2024-08-15 11:55:01 +05:30