zerotier / ZeroTierOne

A Smart Ethernet Switch for Earth
https://zerotier.com
Other
14.55k stars 1.7k forks source link

break up redis tx inserts into smaller chunks #2330

Closed glimberg closed 4 months ago

glimberg commented 4 months ago

This is to avoid the following error when the controller loads data:

ERROR: Error initializing networks in Redis: ERR Protocol error: -ERR Protocol error: invalid multibulk length
laduke commented 4 months ago

How does it load eventually load 30001 + items?

glimberg commented 4 months ago

It loads all the networks/members from the DB on startup