Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Increase imperfection factor, unit tests have been seen to fail | Harald Musum | 2022-04-18 | 1 | -1/+1 |
| | |||||
* | - Allow control of throttlepolicy per session. | Henning Baldersheim | 2022-04-11 | 2 | -1/+6 |
| | | | | | - Move tests to same namespace as code to avoid polluting the public interface. - Expose the throttlepolicy from SourceSession to avoid double bookeeping. | ||||
* | Do not create dependency-reduced-pom.xml | gjoranv | 2022-04-08 | 1 | -0/+1 |
| | | | | | | - From maven-shade-plugin 3.3.0 (needed for JDK 17), the DRP is installed and used instead of the ordinary pom.xml, causing transitive dependencies to disappear for dependent modules. | ||||
* | Make SourceSession pending count atomic to avoid data races | Tor Brede Vekterli | 2022-03-14 | 2 | -20/+25 |
| | | | | | Could have used the existing mutex, but this value is polled frequently by visitor threads so avoiding having to take a lock every time makes sense. | ||||
* | avoid race in trace messages regarding pending count | Håvard Pettersen | 2022-03-14 | 1 | -3/+6 |
| | |||||
* | Remove inlining warnings (messagebus). | Tor Egge | 2022-02-26 | 6 | -0/+32 |
| | |||||
* | Use a typesafe Duration instead of integer milliseondst status. | Henning Baldersheim | 2022-02-25 | 2 | -2/+5 |
| | |||||
* | - Use a utility method that recomputes a timeout if VESPA_TIMER_HZ deviates ↵ | Henning Baldersheim | 2022-02-25 | 2 | -2/+2 |
| | | | | from the default of 1000hz. | ||||
* | Merge branch 'master' into balder/consider_vespa_timer_hz | Henning Baldersheim | 2022-02-25 | 1 | -3/+9 |
|\ | |||||
| * | - Only wait with timeout if you have any recurring tasks to execute. | Henning Baldersheim | 2022-02-25 | 2 | -4/+9 |
| | | | | | | | | | | - Increase timeout from 10 -> 100 milliseconds. - Also consider the VESPA_TIMER_HZ control of timer frequency. | ||||
* | | Take VESPA_TIMER_HZ into consideration. | Henning Baldersheim | 2022-02-25 | 1 | -2/+2 |
|/ | |||||
* | Revert "Revert "- Create the common transport and threadpool in the main loop."" | Henning Baldersheim | 2022-02-24 | 1 | -2/+2 |
| | |||||
* | Revert "- Create the common transport and threadpool in the main loop." | Henning Baldersheim | 2022-02-24 | 1 | -2/+2 |
| | |||||
* | - Create the common transport and threadpool in the main loop. | Henning Baldersheim | 2022-02-24 | 1 | -2/+2 |
| | | | | | - Also use the common transport for config subscriptions. - Put The TransportConfig in the fnet namespace. | ||||
* | Merge pull request #21285 from vespa-engine/vekterli/more-threading-fixes | Henning Baldersheim | 2022-02-21 | 4 | -18/+34 |
|\ | | | | | More miscellaneous threading fixes [run-systemtest] | ||||
| * | Let `erase()` return new iterator instead of doing it manually | Tor Brede Vekterli | 2022-02-21 | 1 | -1/+1 |
| | | |||||
| * | Use Kill() instead of Unschedule() to prevent against unwanted re-scheduling | Tor Brede Vekterli | 2022-02-21 | 1 | -1/+1 |
| | | |||||
| * | Avoid potential MessageBus<->FNET mutex order inversion | Tor Brede Vekterli | 2022-02-18 | 2 | -7/+16 |
| | | | | | | | | | | | | | | | | Destruct targets outside lock to prevent the following potential deadlock: 1. flushTargets (pool lock) -> FNET transport thread event (transport thread lock) 2. FNET CheckTasks (transport thread lock) -> periodic flushTargets task run -> flushTargets (pool lock) Also explicitly unschedule any target pool task on network shutdown | ||||
| * | Make MessageBus resend-queue thread safe | Tor Brede Vekterli | 2022-02-18 | 2 | -11/+18 |
| | | | | | | | | | | May be accessed from both sender thread (in case of synchronous send failure) as well as periodic resending from MBus thread. | ||||
* | | Make ConfigUri constructors explicit and use same context where possible in ↵ | Henning Baldersheim | 2022-02-20 | 1 | -1/+1 |
|/ | | | | proton. | ||||
* | Reduce code visibility and include only what you need from config library. | Henning Baldersheim | 2022-02-06 | 5 | -5/+2 |
| | |||||
* | Merge pull request #21047 from vespa-engine/jonmv/less-test-repetitions | Jon Marius Venstad | 2022-02-03 | 1 | -7/+7 |
|\ | | | | | Run dynamic throttling tests fewer times by default | ||||
| * | Run dynamic throttling tests fewer times by default | Jon Marius Venstad | 2022-02-03 | 1 | -7/+7 |
| | | |||||
* | | Improve maven-shade-plugin filter, and move to parent pom. | gjoranv | 2022-02-03 | 1 | -11/+0 |
|/ | | | | - Removes 223 build warnings (out of 562 for building non-test code) | ||||
* | Revert "Exclude META-INF files and module-info.class from uber jars." | Harald Musum | 2022-02-02 | 1 | -2/+4 |
| | |||||
* | Exclude META-INF files and module-info.class from uber jars. | gjoranv | 2022-02-02 | 1 | -4/+2 |
| | | | | - Generate countless warnings for duplicates and breaking encapsulation. | ||||
* | Add SuppressWarnings for removal of config.subscription types. | gjoranv | 2022-02-02 | 3 | -0/+3 |
| | |||||
* | Sync with messagebus thread when disconnecting | Bjørn Christian Seime | 2022-01-25 | 2 | -2/+2 |
| | |||||
* | Add disconnect() that unregisters session | Bjørn Christian Seime | 2022-01-25 | 4 | -3/+11 |
| | |||||
* | TransportThread must always do a handover. If not you might get a deadlock. | Henning Baldersheim | 2022-01-25 | 1 | -1/+1 |
| | |||||
* | We must ensure that we do not end up with a rejected execution that can ↵ | Henning Baldersheim | 2022-01-24 | 1 | -3/+3 |
| | | | | | | cause deadlock. Using an unbound Q here is fine as there is external throttling in place. | ||||
* | Don't retry after resender is destroyed | Bjørn Christian Seime | 2022-01-21 | 1 | -10/+15 |
| | |||||
* | Update C++ DynamicThrottlePolicy to match Java impl semantics | Tor Brede Vekterli | 2022-01-17 | 3 | -37/+68 |
| | | | | | | | | | | | This is an attempt at making the C++ implementation 1-1 with the Java implementation, the latter considered the source of truth for this matter. Unit tests have been updated to match their Java equivalents as well. This task was approached much in the same way a novice wizard would transcribe arcane runes that may possible blow their hands off; carefully and with more pragmatic respect than understanding. | ||||
* | Use a daemon thread have wait for shutdown to complete. | Henning Baldersheim | 2022-01-07 | 1 | -1/+1 |
| | |||||
* | unify java warnings | Arne H Juul | 2022-01-06 | 1 | -7/+0 |
| | | | | | * these were stricter than in parent, but to simplify we can just use compiler args from parent | ||||
* | decouple tests by giving them separate destination session names | Arne H Juul | 2021-12-30 | 1 | -64/+71 |
| | |||||
* | speed up unit test | Arne H Juul | 2021-12-17 | 1 | -11/+132 |
| | | | | | | | * use shared (static) slobrok, source and destination servers * reset various state between tests * still create/destroy sessions between tests * add logging of start/finish of each sub-test to track where time goes | ||||
* | make it easier to track where the time goes by overriding the log format | Arne H Juul | 2021-12-17 | 1 | -0/+3 |
| | |||||
* | more aggressive waitState | Arne H Juul | 2021-12-17 | 1 | -3/+9 |
| | |||||
* | most unit tests can run with just 1 network thread | Arne H Juul | 2021-12-16 | 2 | -3/+5 |
| | |||||
* | improve testserver start/stop logging slightly | Arne H Juul | 2021-12-16 | 2 | -5/+16 |
| | |||||
* | wait a bit more before spamming the log | Arne H Juul | 2021-12-15 | 1 | -2/+3 |
| | |||||
* | improve signal-to-noise ratio in informational logging | Arne H Juul | 2021-12-15 | 1 | -4/+10 |
| | |||||
* | log some info to make it possible to see what is going on in unit tests | Arne H Juul | 2021-12-15 | 1 | -0/+5 |
| | |||||
* | update ABI for generated builders | Arne H Juul | 2021-12-09 | 1 | -0/+3 |
| | |||||
* | Remove the need for Syncable | Henning Baldersheim | 2021-11-26 | 1 | -2/+1 |
| | |||||
* | add some information while waiting for messagebus network | Arne H Juul | 2021-11-11 | 2 | -1/+15 |
| | |||||
* | Add missiung copyrights | Jon Bratseth | 2021-10-20 | 2 | -0/+2 |
| | |||||
* | fix unstable unit test | Håvard Pettersen | 2021-10-15 | 1 | -0/+3 |
| | |||||
* | Update Verizon Media copyright notices. | gjoranv | 2021-10-07 | 4 | -4/+4 |
| |