summaryrefslogtreecommitdiffstats
path: root/configd
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #18036 from vespa-engine/arnej/prepare-for-more-generic-rpcArne H Juul2021-06-0112-7/+194
|\ \ | |/ |/| Arnej/prepare for more generic rpc
| * refactor and cleanupArne Juul2021-05-3113-54/+61
| | | | | | | | | | | | | | | | * add RPC api to check connectivity * start PeerCheck directly from RPCHooks * let CheckCompletionHandler do just completion * allocate PeerCheck and CheckCompletionHandler inside parent request * revert last changes in Cmd and Manager
| * prepare for "check connectivity" apiArne Juul2021-05-319-8/+186
| | | | | | | | | | | | | | | | * Cmd now has more generic "name" property and optional "portNumber" * add CmdType CHECK_CONNECTIVITY * add a simple one-shot PeerCheck utility * add CheckCompletionHandler that handles a Cmd with type CHECK_CONNECTIVITY * dummy in handleCmd for now
| * make Supervisor availableArne Juul2021-05-311-0/+2
| |
* | Revert "Arnej/also subscribe on model"Arne H Juul2021-05-312-9/+0
|/
* also subscribe on ModelConfigArne Juul2021-05-282-0/+9
|
* just assert for configurationArne Juul2021-05-281-5/+3
|
* let manager configure itself in constructor insteadArne Juul2021-05-283-4/+2
|
* remove historical, unused environment variableArne Juul2021-05-281-4/+0
|
* use environment and bootstrap it before creating managerArne Juul2021-05-273-78/+30
|
* add environment class that can live outside managerArne Juul2021-05-274-7/+136
|
* add class for config ownershipArne Juul2021-05-274-0/+90
|
* rename ConfigHandler classArne Juul2021-05-274-28/+28
| | | | | * since this won't do config subscription etc, give it a more generic name.
* Use simpler c++11 time constructions.Henning Baldersheim2021-03-101-8/+5
|
* Increase rpc handling frequency from 1hz to 10hzHenning Baldersheim2021-03-101-2/+2
|
* use size literals in configArne Juul2021-02-152-3/+5
|
* Misc cleanup of includes and code healthHenning Baldersheim2020-12-012-2/+3
|
* move event logging to better track stopping timelineArne Juul2020-09-171-2/+1
|
* run prepare_for_shutdown before sending any signalsArne Juul2020-09-103-14/+22
|
* avoid confusing "showdown" messagesArne Juul2020-09-091-3/+12
|
* Revert "set omp num threads to 1"Jon Marius Venstad2020-09-081-1/+0
|
* set omp num threads to 1Håvard Pettersen2020-09-081-0/+1
|
* Garbage collect "clever" pipes magicArne Juul2020-07-062-46/+6
| | | | * cleanup non-functional code that seemingly never worked
* add missed includeArne Juul2020-07-031-0/+1
|
* use std::_Exit()Arne Juul2020-07-031-3/+3
|
* use return from main() for clean shutdownArne Juul2020-07-031-6/+6
|
* use return from main() for clean shutdownArne Juul2020-07-031-8/+8
|
* on config change, just restart onceArne Juul2020-06-231-1/+0
|
* Use std::string instead of un-free()d strdupTor Brede Vekterli2020-04-071-4/+6
|
* Add/corect copyright headersJon Bratseth2020-01-031-0/+1
|
* Drop timestamp.hHenning Baldersheim2019-12-165-74/+38
|
* FastOS_Time -> std::chrono.Henning Baldersheim2019-11-203-8/+6
|
* use chrono instead of fastos timeHåvard Pettersen2019-11-191-0/+1
|
* Throw, catch and exit on bad port value, rather than straight exitJon Marius Venstad2019-11-152-3/+7
|
* Catch PortListenException in config-sentinel main loop, and exitJon Marius Venstad2019-11-151-2/+6
|
* catch exceptions in network setupArne Juul2019-09-241-2/+8
|
* Avoid the last usages of time(0/NULL/nullptr) in the codebase.Henning Baldersheim2019-08-263-6/+8
|
* Simplify by not caching a memberHenning Baldersheim2019-05-101-10/+5
|
* Simplify the supervisor responsibilityHenning Baldersheim2019-05-103-15/+12
|
* re-implement delayed restartArne Juul2019-05-074-34/+97
| | | | | | | | | | | * instead of sleeping in the forked process, make "restarting" a new service state and check if the restart penalty has been applied periodically * reset restart penalty on config generation changes, meaning application deployment triggers immediate startup of delayed services * also, keep removed services after re-configuration in a separate "orphans" list, to get better tracking of their final shutdown
* stop modeling autostart / autorestartArne Juul2019-03-141-17/+4
| | | | * these flags are always true, so no need to configure them
* remove old codeArne Juul2019-03-134-91/+0
|
* remove telnet API, use state serverArne Juul2019-03-134-381/+14
|
* Merge pull request #8736 from vespa-engine/arnej/add-restart-serviceHenning Baldersheim2019-03-125-2/+37
|\ | | | | add "restart" hooks
| * add "restart" hooksArne Juul2019-03-115-2/+37
| |
* | initialize and zero terminate temp bufferArne Juul2019-03-121-0/+2
|/
* add skeleton for sentinel-cmdArne Juul2019-03-054-0/+152
|
* Remove files used by old unit test runner.Tor Egge2019-02-194-4/+0
|
* Remove test lists files used by old unit test framework.Tor Egge2019-02-151-2/+0
|
* add RPC server for start/stop of servicesArne Juul2019-02-0510-15/+331
|