summaryrefslogtreecommitdiffstats
path: root/messagebus
Commit message (Collapse)AuthorAgeFilesLines
* Control events-before-wakeup for mbus too.Henning Baldersheim2022-07-043-31/+10
|
* Dump threads when network fails to start in order to find the blocking thread.Henning Baldersheim2022-07-011-1/+4
|
* Always skip messenger and communicationmanager when you can.Henning Baldersheim2022-06-298-39/+13
|
* Merge pull request #23240 from vespa-engine/balder/no-longer-require-sequencingHenning Baldersheim2022-06-275-60/+37
|\ | | | | Remove 'requireSequencing' as an option.
| * Remove 'requireSequencing' as an option.Henning Baldersheim2022-06-265-60/+37
| | | | | | | | As a consequence move protocol and params resolution to common code so that it is always handled in the decoding/encoding thread.
* | Merge pull request #23242 from ↵Henning Baldersheim2022-06-276-209/+3
|\ \ | | | | | | | | | | | | vespa-engine/balder/gc-pre-historic-mbus-protocol-from-backend Upgrades from pre vespa-6.149 directly to 8.8 is not supported.
| * | Upgrades from pre vespa-6.149 directly to 8.8 is not supported.Henning Baldersheim2022-06-266-209/+3
| |/ | | | | | | GC code from backend.
* / Upgrades from pre vespa-6.149 directly to 8.8 is not supported. GC code from ↵Henning Baldersheim2022-06-263-164/+18
|/ | | | frontend.
* Set project version to 8-SNAPSHOTgjoranv2022-06-081-2/+2
|
* Remove config version on Vespa 8Jon Bratseth2022-06-081-2/+0
|
* Revoke com.yahoo.config.subscription as public APIHarald Musum2022-06-083-3/+0
| | | | Also remove some deprecated methods in ConfigGetter
* fix undefined behavior in messagebus unit testsHåvard Pettersen2022-05-254-10/+10
| | | | | also avoids hanging/leaving processes after running all unit tests with UBSAN without recovery.
* Messagebus only requires slobrok as a client, not the full server.Henning Baldersheim2022-05-201-1/+1
|
* Fold staging_vespalib into vespalibHenning Baldersheim2022-05-201-1/+0
|
* make close flag in reply gate atomicHåvard Pettersen2022-05-192-3/+4
|
* Don't embed annotations in osgi bundlesBjørn Christian Seime2022-05-041-0/+6
|
* Increase imperfection factor, unit tests have been seen to failHarald Musum2022-04-181-1/+1
|
* - Allow control of throttlepolicy per session.Henning Baldersheim2022-04-112-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.xmlgjoranv2022-04-081-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 racesTor Brede Vekterli2022-03-142-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 countHåvard Pettersen2022-03-141-3/+6
|
* Remove inlining warnings (messagebus).Tor Egge2022-02-266-0/+32
|
* Use a typesafe Duration instead of integer milliseondst status.Henning Baldersheim2022-02-252-2/+5
|
* - Use a utility method that recomputes a timeout if VESPA_TIMER_HZ deviates ↵Henning Baldersheim2022-02-252-2/+2
| | | | from the default of 1000hz.
* Merge branch 'master' into balder/consider_vespa_timer_hzHenning Baldersheim2022-02-251-3/+9
|\
| * - Only wait with timeout if you have any recurring tasks to execute.Henning Baldersheim2022-02-252-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 Baldersheim2022-02-251-2/+2
|/
* Revert "Revert "- Create the common transport and threadpool in the main loop.""Henning Baldersheim2022-02-241-2/+2
|
* Revert "- Create the common transport and threadpool in the main loop."Henning Baldersheim2022-02-241-2/+2
|
* - Create the common transport and threadpool in the main loop.Henning Baldersheim2022-02-241-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-fixesHenning Baldersheim2022-02-214-18/+34
|\ | | | | More miscellaneous threading fixes [run-systemtest]
| * Let `erase()` return new iterator instead of doing it manuallyTor Brede Vekterli2022-02-211-1/+1
| |
| * Use Kill() instead of Unschedule() to prevent against unwanted re-schedulingTor Brede Vekterli2022-02-211-1/+1
| |
| * Avoid potential MessageBus<->FNET mutex order inversionTor Brede Vekterli2022-02-182-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 safeTor Brede Vekterli2022-02-182-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 Baldersheim2022-02-201-1/+1
|/ | | | proton.
* Reduce code visibility and include only what you need from config library.Henning Baldersheim2022-02-065-5/+2
|
* Merge pull request #21047 from vespa-engine/jonmv/less-test-repetitionsJon Marius Venstad2022-02-031-7/+7
|\ | | | | Run dynamic throttling tests fewer times by default
| * Run dynamic throttling tests fewer times by defaultJon Marius Venstad2022-02-031-7/+7
| |
* | Improve maven-shade-plugin filter, and move to parent pom.gjoranv2022-02-031-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 Musum2022-02-021-2/+4
|
* Exclude META-INF files and module-info.class from uber jars.gjoranv2022-02-021-4/+2
| | | | - Generate countless warnings for duplicates and breaking encapsulation.
* Add SuppressWarnings for removal of config.subscription types.gjoranv2022-02-023-0/+3
|
* Sync with messagebus thread when disconnectingBjørn Christian Seime2022-01-252-2/+2
|
* Add disconnect() that unregisters sessionBjørn Christian Seime2022-01-254-3/+11
|
* TransportThread must always do a handover. If not you might get a deadlock.Henning Baldersheim2022-01-251-1/+1
|
* We must ensure that we do not end up with a rejected execution that can ↵Henning Baldersheim2022-01-241-3/+3
| | | | | | cause deadlock. Using an unbound Q here is fine as there is external throttling in place.
* Don't retry after resender is destroyedBjørn Christian Seime2022-01-211-10/+15
|
* Update C++ DynamicThrottlePolicy to match Java impl semanticsTor Brede Vekterli2022-01-173-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 Baldersheim2022-01-071-1/+1
|