summaryrefslogtreecommitdiffstats
path: root/container-core
Commit message (Collapse)AuthorAgeFilesLines
* Re-introduce the resetting of component subscriber after bootstrapgjoranv2021-10-151-1/+10
| | | | | - Otherwise, components from a changed bundle with unchanged configs would get the class of the previous config generation.
* Reapply "Container config improvements [run-systemtest]"gjoranv2021-10-157-138/+157
| | | | This reverts commit 868c29b272eb7773d5c4515cb33640a44074d05a.
* Metrics Q size and capacity must into account what kind of Q is used.Henning Baldersheim2021-10-155-35/+97
|
* Revert "Container config improvements [run-systemtest]"Henning Baldersheim2021-10-147-157/+138
|
* Merge pull request #19544 from vespa-engine/container-config-improvementsgjoranv2021-10-147-138/+157
|\ | | | | Container config improvements [run-systemtest]
| * Init the config generation to 1 instead of 0.gjoranv2021-10-141-1/+1
| | | | | | | | | | | | | | - An initial value of 0, generated config generation sequence 1,1,2,3,... causing an exception in Container.getConfigAndCreateGraph when it got bootstrap configs with generation=1 twice.
| * Rename config retriever field.gjoranv2021-10-141-7/+7
| |
| * Allow exceptions from the config system to propagate up.gjoranv2021-10-131-9/+2
| |
| * Simplify and improve config retrieval.gjoranv2021-10-131-34/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | - Retrive bootstrap snapshot first when the system is in the stable state. When bootstrap is newer than components, retrieve the new components generation. This avoids getting exceptions from the config system when a component that takes a config with missing default value has been removed. - Do not close set up empty component subscriber after bootstrap, should be unnecessary as it's always done when component config keys are changed. - Declare getConfigsOnce private. - Improve debug logging
| * Improve debug logging.gjoranv2021-10-131-4/+5
| |
| * minor: rearrange fields.gjoranv2021-10-081-1/+2
| |
| * Improve debugging of CloudSubscriber by adding a name.gjoranv2021-10-084-14/+15
| |
| * Simplify by taking a SubscriberFactory instead of a Function.gjoranv2021-10-083-11/+10
| |
| * Move CloudSubscriber to separate class file.gjoranv2021-10-082-75/+101
| |
| * Add more debug log for config generations.gjoranv2021-10-082-3/+7
| |
| * Use correct method name in log message.gjoranv2021-10-081-1/+1
| |
| * Improve commentgjoranv2021-10-081-1/+2
| |
* | - Effective executor Q size is max pool size + max Q size.Henning Baldersheim2021-10-132-14/+27
| | | | | | | | | | - Also use timed wait/notify over sleep to reduce shutdown time. - Join metric thread to ensure no latent issues.
* | Fail servlet output stream writer once request is finished with failureBjørn Christian Seime2021-10-112-6/+12
| | | | | | | | | | | | Fail out any queued response content once request has been failed out through callback from Jetty's AsyncListener interface. Improve naming of methods in ServletResponseController.
* | Upgrade Jetty to 9.4.44Bjørn Christian Seime2021-10-111-0/+2
| |
* | Add toString for Node and ComponentNodeHenning Baldersheim2021-10-082-5/+14
| |
* | Add some more information to exception messageHenning Baldersheim2021-10-081-2/+2
|/
* More mockito magic.Henning Baldersheim2021-10-081-3/+5
|
* Use refer(any)Henning Baldersheim2021-10-081-12/+8
|
* If execution is rejected, fall back to doing it yourself.Henning Baldersheim2021-10-072-3/+11
|
* Merge pull request #19452 from vespa-engine/bjorncs/jetty-async-listenerBjørn Christian Seime2021-10-078-354/+258
|\ | | | | Refactor async completion logic for read and write path [run-systemtest]
| * Ensure writer is closed while holding lockBjørn Christian Seime2021-10-071-33/+33
| | | | | | | | Handler can inject its response content if lock is not held between write and close.
| * Refactor async completion logic for read and write pathBjørn Christian Seime2021-10-078-354/+258
| | | | | | | | Ensure that failure from request read, write or async context correctly terminates request processing.
* | Update Verizon Media copyright notices.gjoranv2021-10-0781-81/+81
| |
* | Update 2019 Yahoo Holdings copyright notices.gjoranv2021-10-072-2/+2
| |
* | Update 2018 copyright notices.gjoranv2021-10-0734-34/+34
| |
* | Update 2017 copyright notices.gjoranv2021-10-07385-385/+385
|/
* - GC unused AsyncCompleteListener.javaHenning Baldersheim2021-10-062-60/+37
| | | | - Avoid using anonymous constructor.
* Attach contextHenning Baldersheim2021-10-063-5/+10
|
* Add mock for added newRequest method.Henning Baldersheim2021-10-053-0/+3
|
* Add option to attach a context to refer.Henning Baldersheim2021-10-051-0/+1
| | | | Introduce a lightweight debug mode.
* SimplifyHenning Baldersheim2021-10-041-20/+20
|
* Add comment about incorrect error handling.Henning Baldersheim2021-10-011-0/+4
|
* - Add deprecation warning for methods only used in tests to enable using ↵Henning Baldersheim2021-10-017-3/+12
| | | | | | | final on members. - assign the reference at the end of the constructor to avoid possibility for exceptions thrown leaving the reference hidden in the dark. - Catch Throwable instead of RuntimException to avoid some exceptions to pass.
* Make use of fallback injector a warning.Henning Baldersheim2021-10-011-1/+4
|
* Merge pull request #19383 from vespa-engine/merge-http-utils-into-vespajlibgjoranv2021-10-011-5/+0
|\ | | | | Merge http utils into vespajlib [run-systemtest]
| * Remove deps to http-utils and add vespajlib where necessary.gjoranv2021-09-301-5/+0
| |
* | Scale queue size for access/connection log locallyBjørn Christian Seime2021-09-302-2/+14
| |
* | Use minimum 8 threads when config contains a scale factorBjørn Christian Seime2021-09-302-8/+5
| |
* | Add constant for min queue sizeBjørn Christian Seime2021-09-301-1/+2
| |
* | Scale jdisc threadpools with cpus available in JVMBjørn Christian Seime2021-09-305-37/+68
| | | | | | | | Change config model to only determine the scaling factors for all threadpool configuration.
* | Improve logging of Jetty configurationBjørn Christian Seime2021-09-301-6/+8
| |
* | Determine Jetty threadpool size locallyBjørn Christian Seime2021-09-301-2/+3
|/
* encode -> embedJon Bratseth2021-09-282-12/+7
|
* Merge pull request #19278 from vespa-engine/bjorncs/find-pidBjørn Christian Seime2021-09-271-11/+17
|\ | | | | Extend find-pid to accept service by name