aboutsummaryrefslogtreecommitdiffstats
path: root/slobrok
Commit message (Collapse)AuthorAgeFilesLines
* GC old "metrics events"Arne Juul2024-01-311-8/+0
|
* Update copyrightJon Bratseth2023-10-09108-110/+110
|
* cleanup whitespaceArne Juul2023-04-304-6/+6
|
* use ref_counted in fnetHåvard Pettersen2023-03-0611-33/+33
| | | | | | also get rid of some cleanup functions on reference counted classes enable specifying low-level parameters to addref/subref (cnt/reserve)
* untangle slobrok from fastosHåvard Pettersen2023-02-233-3/+0
|
* untangle fnet from fastosHåvard Pettersen2023-02-221-2/+1
|
* use std::thread directlyHåvard Pettersen2023-02-152-3/+3
| | | | | | also add very simple ThreadPool class to run multiple threads at once make an effort to only join once
* stop using fastos thread more placesHåvard Pettersen2023-02-141-4/+4
| | | | | | | | | | - also stop using std::jthread - remove Active and Joinable interfaces - remove stop, stopped and slumber - remove currentThread - make start function static - override start for Runnable w/init or custom function - explicit stop/slumber where needed
* stop using fastos threadHåvard Pettersen2023-02-131-0/+1
| | | | | | | | combine cancel with stop such that cancel means stopped before started and therefore never run. drop the started sync point since there is no state we need to pass from the thread to the starter of the thread.
* Add noexcept MapDiff move constructor to avoid expensive and large copy ↵Henning Baldersheim2023-02-014-7/+12
| | | | constructor.
* Use snprintf instead of sprintf.Tor Egge2023-01-311-1/+1
|
* GC some void inline pragmasHenning Baldersheim2023-01-303-22/+26
|
* Merge pull request #25777 from vespa-engine/arnej/avoid-silly-warningHenning Baldersheim2023-01-292-5/+16
|\ | | | | Arnej/avoid warning
| * update unit test to track adjusted timingArne Juul2023-01-291-4/+11
| |
| * reduce warnings during normal shutdownArne Juul2023-01-281-1/+5
| |
* | Include cstdint to get declaration of fixed width integer types.Tor Egge2023-01-281-0/+1
|/
* to make metric useful, check consensus somewhat more oftenArne Juul2023-01-112-4/+4
|
* ensure snapshot is before valuesArne Juul2023-01-061-3/+4
|
* use vespalib::steady_time and to_sArne Juul2023-01-052-5/+5
|
* add metric for time since last full consensusArne Juul2023-01-055-4/+32
|
* Change from typedef to using in misc C++ code.Geir Storli2022-12-214-5/+5
|
* Prefer cond.wait_for over sleep_for when you can be interrupted.Henning Baldersheim2022-12-201-1/+1
|
* Remove stacksize from the thread pools and thread executors.Henning Baldersheim2022-12-201-1/+1
|
* Include mutex to get declaration of std::mutexTor Egge2022-09-251-0/+1
|
* Reduce include and visibility of ptrholder.hHenning Baldersheim2022-09-231-2/+1
|
* remove unused doxygen setup filesArne Juul2022-08-291-228/+0
|
* Add capability request filters to Slobrok RPCsTor Brede Vekterli2022-08-262-0/+28
|
* Deinline ServiceMapping copy constructor and copy assignment.Tor Egge2022-05-302-0/+6
|
* Fold staging_vespalib into vespalibHenning Baldersheim2022-05-201-1/+0
|
* make _reqDone atomicHåvard Pettersen2022-05-194-10/+11
|
* Move state_server, metrivs and some all executors from staging_vespalib too ↵Henning Baldersheim2022-05-183-5/+5
| | | | vespalib.
* wait for more things before destructing transportHåvard Pettersen2022-05-022-0/+2
| | | | | | Exiting the main loop of the transport thread(s) does no longer mean you are completely finished. We also need to wait for async dns resolving and tls handshake work.
* Initialize transitive ctor dependencies before useTor Brede Vekterli2022-04-272-7/+8
| | | | | Ensure that SBEnv fields that are accessed by RPCHooks ctor are initialized before the RPCHooks field itself is created.
* remove FastOS_ApplicationHåvard Pettersen2022-04-085-79/+76
| | | | | | | | fixup (per application): - maybe ignore SIGPIPE - wire argc/argv untangle Vespa Test Framework strip down deprecated TestApp
* use getopt/getopt_long directlyHåvard Pettersen2022-04-012-11/+9
|
* Revert "Fix Slobrok race between completion callback and scheduled task ↵Tor Brede Vekterli2022-03-041-37/+37
| | | | [run-systemtest]"
* Minor code cleanups - no change in semanticsTor Brede Vekterli2022-02-281-33/+30
|
* Fix Slobrok race between completion callback and scheduled taskTor Brede Vekterli2022-02-281-4/+7
| | | | | | This resolves a racing read/write on "request done" status that may happen when RPC `HandleDone()` is invoked from one FNET thread and `PerformTask()` is concurrently invoked from another FNET thread.
* Add noexcept specifiers (slobrok).Tor Egge2022-02-262-2/+2
|
* Revert "Revert "- Create the common transport and threadpool in the main loop.""Henning Baldersheim2022-02-242-4/+7
|
* Revert "- Create the common transport and threadpool in the main loop."Henning Baldersheim2022-02-242-7/+4
|
* - Create the common transport and threadpool in the main loop.Henning Baldersheim2022-02-242-4/+7
| | | | | - Also use the common transport for config subscriptions. - Put The TransportConfig in the fnet namespace.
* Make ConfigUri constructors explicit and use same context where possible in ↵Henning Baldersheim2022-02-201-1/+1
| | | | proton.
* Reduce code visibility and include only what you need from config library.Henning Baldersheim2022-02-067-16/+29
|
* _executor -> _threadHenning Baldersheim2021-12-091-6/+3
|
* Add init_fun to vespalib::Thread too to figure out what the thread is used for.Henning Baldersheim2021-12-091-2/+4
|
* Update Verizon Media copyright notices.gjoranv2021-10-0736-36/+36
|
* Update 2017 copyright notices.gjoranv2021-10-0773-73/+73
|
* Fix format strings.Tor Egge2021-09-271-2/+2
|
* remove wiring of useNewLogic flagArne H Juul2021-09-205-34/+12
|