-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Daemon subdaemon refactor #414
Commits on Sep 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5df95bc - Browse repository at this point
Copy the full SHA 5df95bcView commit details
Commits on Sep 22, 2023
-
[scheduler] Refactor to prepare daemon/subdaemon removal
daemon components won't anymore embed *subdaemon.T
Configuration menu - View commit details
-
Copy full SHA for d6f7acb - Browse repository at this point
Copy the full SHA d6f7acbView commit details -
[hb] Refactor to prepare daemon/subdaemon removal
daemon components won't anymore embed *subdaemon.T
Configuration menu - View commit details
-
Copy full SHA for 7e2739d - Browse repository at this point
Copy the full SHA 7e2739dView commit details -
[lsnrhttp{inet,ux}] Refactor to prepare daemon/subdaemon removal
daemon components won't anymore embed *subdaemon.T t.Stop() now returns when internal waitGroup is done
Configuration menu - View commit details
-
Copy full SHA for ef8b5b7 - Browse repository at this point
Copy the full SHA ef8b5b7View commit details -
[listener] Refactor to prepare daemon/subdaemon removal
daemon components won't anymore embed *subdaemon.T This commit also removes useless code: loop & httpHandler
Configuration menu - View commit details
-
Copy full SHA for de545a5 - Browse repository at this point
Copy the full SHA de545a5View commit details -
[discover] Refactor to prepare daemon/subdaemon removal
daemon components won't anymore embed *subdaemon.T
Configuration menu - View commit details
-
Copy full SHA for 7db0312 - Browse repository at this point
Copy the full SHA 7db0312View commit details -
Configuration menu - View commit details
-
Copy full SHA for 563c80c - Browse repository at this point
Copy the full SHA 563c80cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 21056b3 - Browse repository at this point
Copy the full SHA 21056b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7faf951 - Browse repository at this point
Copy the full SHA 7faf951View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc999aa - Browse repository at this point
Copy the full SHA cc999aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 77b3104 - Browse repository at this point
Copy the full SHA 77b3104View commit details
Commits on Sep 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b786ab6 - Browse repository at this point
Copy the full SHA b786ab6View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc42dad - Browse repository at this point
Copy the full SHA fc42dadView commit details -
Configuration menu - View commit details
-
Copy full SHA for ba1deb8 - Browse repository at this point
Copy the full SHA ba1deb8View commit details
Commits on Sep 26, 2023
-
[daemonapi,routehttp] Refactor labelnode -> DaemonApi.LabelNode for test
DaemonApi has a new LabelNode member that is defined during api.RegisterHandlers => mocked hostname value during tests is applied to daemon api used label node
Configuration menu - View commit details
-
Copy full SHA for cd83f20 - Browse repository at this point
Copy the full SHA cd83f20View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a8b42e - Browse repository at this point
Copy the full SHA 1a8b42eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d0b8dc - Browse repository at this point
Copy the full SHA 9d0b8dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 44caffe - Browse repository at this point
Copy the full SHA 44caffeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 19ca044 - Browse repository at this point
Copy the full SHA 19ca044View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e41f42 - Browse repository at this point
Copy the full SHA 2e41f42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85e4415 - Browse repository at this point
Copy the full SHA 85e4415View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5803471 - Browse repository at this point
Copy the full SHA 5803471View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6aeacb - Browse repository at this point
Copy the full SHA a6aeacbView commit details -
[daemon/hb] Improves start & stop
Previous implementation has unclear start/stop order. Now created routines that has its own stop methods will use main t.ctx context: - controller other routines will use a cancelable context, that is cancelled during t.Stop() - msgToTx - msgFromRx - janitor - hb drivers => Stop() 1- t.cancel() => cancel msgToTx, msgFromRx, janitor, hb drivers 2- stop started hb drivers 3- wait for wait group (msgToTx, msgFromRx and janitor are done) 4- stop the controller - msgToTx and msgFromRx returns when it detects cancellation while processing message
Configuration menu - View commit details
-
Copy full SHA for 4bcd05d - Browse repository at this point
Copy the full SHA 4bcd05dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 50dc1ce - Browse repository at this point
Copy the full SHA 50dc1ceView commit details -
[daemoncli] Close daemonsys when not anymore used
This stop the associated goroutine
Configuration menu - View commit details
-
Copy full SHA for 2a01cdf - Browse repository at this point
Copy the full SHA 2a01cdfView commit details -
[daemon] Ensure no more routines when daemon is stopped
## all components are now managed by the startStopper interface. - hbcache - ccfg - cstat - istat ## Stop function now waits for all components done before return. ## notifyWatchDog functions are now defined in dedicated functions: - notifyWatchDogSys (for systemd watch dog) - notifyWatchDogBus (for pubsub watch dog) ## use dedicated stopWatcher function to watch for daemon stop requests: - stop from signal - stop from msgbus.DaemonCtl ## update daemoncli to use Start from daemon instead of RunDaemon
Configuration menu - View commit details
-
Copy full SHA for 83c4fe0 - Browse repository at this point
Copy the full SHA 83c4fe0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b05b682 - Browse repository at this point
Copy the full SHA b05b682View commit details -
Configuration menu - View commit details
-
Copy full SHA for fddfc4b - Browse repository at this point
Copy the full SHA fddfc4bView commit details