Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Merge pull request #18036 from vespa-engine/arnej/prepare-for-more-generic-rpc | Arne H Juul | 2021-06-01 | 12 | -7/+194 | |
|\ \ | |/ |/| | Arnej/prepare for more generic rpc | |||||
| * | refactor and cleanup | Arne Juul | 2021-05-31 | 13 | -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" api | Arne Juul | 2021-05-31 | 9 | -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 available | Arne Juul | 2021-05-31 | 1 | -0/+2 | |
| | | ||||||
* | | Revert "Arnej/also subscribe on model" | Arne H Juul | 2021-05-31 | 2 | -9/+0 | |
|/ | ||||||
* | also subscribe on ModelConfig | Arne Juul | 2021-05-28 | 2 | -0/+9 | |
| | ||||||
* | just assert for configuration | Arne Juul | 2021-05-28 | 1 | -5/+3 | |
| | ||||||
* | let manager configure itself in constructor instead | Arne Juul | 2021-05-28 | 3 | -4/+2 | |
| | ||||||
* | remove historical, unused environment variable | Arne Juul | 2021-05-28 | 1 | -4/+0 | |
| | ||||||
* | use environment and bootstrap it before creating manager | Arne Juul | 2021-05-27 | 3 | -78/+30 | |
| | ||||||
* | add environment class that can live outside manager | Arne Juul | 2021-05-27 | 4 | -7/+136 | |
| | ||||||
* | add class for config ownership | Arne Juul | 2021-05-27 | 4 | -0/+90 | |
| | ||||||
* | rename ConfigHandler class | Arne Juul | 2021-05-27 | 4 | -28/+28 | |
| | | | | | * since this won't do config subscription etc, give it a more generic name. | |||||
* | Use simpler c++11 time constructions. | Henning Baldersheim | 2021-03-10 | 1 | -8/+5 | |
| | ||||||
* | Increase rpc handling frequency from 1hz to 10hz | Henning Baldersheim | 2021-03-10 | 1 | -2/+2 | |
| | ||||||
* | use size literals in config | Arne Juul | 2021-02-15 | 2 | -3/+5 | |
| | ||||||
* | Misc cleanup of includes and code health | Henning Baldersheim | 2020-12-01 | 2 | -2/+3 | |
| | ||||||
* | move event logging to better track stopping timeline | Arne Juul | 2020-09-17 | 1 | -2/+1 | |
| | ||||||
* | run prepare_for_shutdown before sending any signals | Arne Juul | 2020-09-10 | 3 | -14/+22 | |
| | ||||||
* | avoid confusing "showdown" messages | Arne Juul | 2020-09-09 | 1 | -3/+12 | |
| | ||||||
* | Revert "set omp num threads to 1" | Jon Marius Venstad | 2020-09-08 | 1 | -1/+0 | |
| | ||||||
* | set omp num threads to 1 | Håvard Pettersen | 2020-09-08 | 1 | -0/+1 | |
| | ||||||
* | Garbage collect "clever" pipes magic | Arne Juul | 2020-07-06 | 2 | -46/+6 | |
| | | | | * cleanup non-functional code that seemingly never worked | |||||
* | add missed include | Arne Juul | 2020-07-03 | 1 | -0/+1 | |
| | ||||||
* | use std::_Exit() | Arne Juul | 2020-07-03 | 1 | -3/+3 | |
| | ||||||
* | use return from main() for clean shutdown | Arne Juul | 2020-07-03 | 1 | -6/+6 | |
| | ||||||
* | use return from main() for clean shutdown | Arne Juul | 2020-07-03 | 1 | -8/+8 | |
| | ||||||
* | on config change, just restart once | Arne Juul | 2020-06-23 | 1 | -1/+0 | |
| | ||||||
* | Use std::string instead of un-free()d strdup | Tor Brede Vekterli | 2020-04-07 | 1 | -4/+6 | |
| | ||||||
* | Add/corect copyright headers | Jon Bratseth | 2020-01-03 | 1 | -0/+1 | |
| | ||||||
* | Drop timestamp.h | Henning Baldersheim | 2019-12-16 | 5 | -74/+38 | |
| | ||||||
* | FastOS_Time -> std::chrono. | Henning Baldersheim | 2019-11-20 | 3 | -8/+6 | |
| | ||||||
* | use chrono instead of fastos time | Håvard Pettersen | 2019-11-19 | 1 | -0/+1 | |
| | ||||||
* | Throw, catch and exit on bad port value, rather than straight exit | Jon Marius Venstad | 2019-11-15 | 2 | -3/+7 | |
| | ||||||
* | Catch PortListenException in config-sentinel main loop, and exit | Jon Marius Venstad | 2019-11-15 | 1 | -2/+6 | |
| | ||||||
* | catch exceptions in network setup | Arne Juul | 2019-09-24 | 1 | -2/+8 | |
| | ||||||
* | Avoid the last usages of time(0/NULL/nullptr) in the codebase. | Henning Baldersheim | 2019-08-26 | 3 | -6/+8 | |
| | ||||||
* | Simplify by not caching a member | Henning Baldersheim | 2019-05-10 | 1 | -10/+5 | |
| | ||||||
* | Simplify the supervisor responsibility | Henning Baldersheim | 2019-05-10 | 3 | -15/+12 | |
| | ||||||
* | re-implement delayed restart | Arne Juul | 2019-05-07 | 4 | -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 / autorestart | Arne Juul | 2019-03-14 | 1 | -17/+4 | |
| | | | | * these flags are always true, so no need to configure them | |||||
* | remove old code | Arne Juul | 2019-03-13 | 4 | -91/+0 | |
| | ||||||
* | remove telnet API, use state server | Arne Juul | 2019-03-13 | 4 | -381/+14 | |
| | ||||||
* | Merge pull request #8736 from vespa-engine/arnej/add-restart-service | Henning Baldersheim | 2019-03-12 | 5 | -2/+37 | |
|\ | | | | | add "restart" hooks | |||||
| * | add "restart" hooks | Arne Juul | 2019-03-11 | 5 | -2/+37 | |
| | | ||||||
* | | initialize and zero terminate temp buffer | Arne Juul | 2019-03-12 | 1 | -0/+2 | |
|/ | ||||||
* | add skeleton for sentinel-cmd | Arne Juul | 2019-03-05 | 4 | -0/+152 | |
| | ||||||
* | Remove files used by old unit test runner. | Tor Egge | 2019-02-19 | 4 | -4/+0 | |
| | ||||||
* | Remove test lists files used by old unit test framework. | Tor Egge | 2019-02-15 | 1 | -2/+0 | |
| | ||||||
* | add RPC server for start/stop of services | Arne Juul | 2019-02-05 | 10 | -15/+331 | |
| |