summaryrefslogtreecommitdiffstats
path: root/storageserver
Commit message (Collapse)AuthorAgeFilesLines
* Explicitly shut down Protobuf library prior to distributor process exitTor Brede Vekterli2024-02-262-0/+5
| | | | | | | | | This avoids false positives from Valgrind et al about memory leaks. The distributor is most susceptible to this false positive since error reporting in the DocumentAPI protocol may cause Protobuf descriptors to be lazily loaded when an incoming message fails to be decoded (usually due to a missing document type).
* - Remove multibit_split form config, as it is always off, but leave it for ↵Henning Baldersheim2024-02-052-6/+14
| | | | | | tests. - Reduce penetration of generated StorFilestorConfig.
* - Always inhibit_default_merges_when_global_merges_pendingHenning Baldersheim2024-02-022-12/+9
| | | | | - Only show config to the code that needs it. - Avoid using config autogenerated internals around in the code.
* GC void config from stor-visitor.defHenning Baldersheim2024-02-011-1/+0
|
* GC chunklevel from bucketdb config.Henning Baldersheim2024-01-301-3/+1
|
* GC unused stor-bucketdb and stor-opslogger config.Henning Baldersheim2024-01-301-2/+0
|
* Wire HwInfo into MergeThrottler and use for auto-deduction of memory limitsTor Brede Vekterli2023-11-023-5/+9
| | | | | | | | Add config for min/max capping of deduced limit, as well as a scaling factor based on the memory available to the process. Defaults have been chosen based on empirical observations over many years, but having these as config means we can tune things live if it should ever be required.
* Rewire `FileStorManager` configTor Brede Vekterli2023-10-242-4/+13
|
* Propagate `VisitorManager` config from outsideTor Brede Vekterli2023-10-242-1/+10
|
* Provide explicit bootstrap config to `BucketManager`Tor Brede Vekterli2023-10-241-1/+1
|
* Pull up and out config of `ChangedBucketOwnershipHandler` componentTor Brede Vekterli2023-10-242-21/+20
|
* Wire config to MergeThrottler in from the outsideTor Brede Vekterli2023-10-241-0/+4
|
* Propagate existing StorageNode config from main Process reconfig loopTor Brede Vekterli2023-10-236-24/+106
|
* Update copyrightJon Bratseth2023-10-0919-19/+19
|
* GC stor-bucket-init.defHenning Baldersheim2023-08-301-1/+0
|
* GC traces of messageforwarderHenning Baldersheim2023-08-301-1/+0
|
* GC unused configHenning Baldersheim2023-08-301-1/+0
|
* - Remove methods not used.Henning Baldersheim2023-08-281-1/+2
| | | | | - Remove parameters not used. - Make template parameter runtime parameter.
* Setup search visitor without proton process.Tor Egge2023-05-101-0/+2
|
* Pass transport and file distributor connection spec to SearchEnvironmentTor Egge2023-05-102-2/+9
| | | | | in preparation for using RankingAssetsBuilder when handling config in streaming search.
* re-apply "remove fastos"Håvard Pettersen2023-03-011-1/+0
| | | | This reverts commit 003f019d7579e49f4ec7609ef8eac26ada6ae753.
* Revert "remove fastos"Harald Musum2023-02-281-0/+1
|
* remove fastosHåvard Pettersen2023-02-281-1/+0
|
* Merge pull request #25944 from ↵Henning Baldersheim2023-02-082-1/+3
|\ | | | | | | | | vespa-engine/balder/final-consolidation-of-storage-framework-time-for-now - Disconnect clock and MicroSecTime.
| * - Disconnect clock and MicroSecTime.Henning Baldersheim2023-02-082-1/+3
| | | | | | | | | | - GC unused functionality from clock/time.h - Unify on vespalib::steady_time/system_time/duration.
* | Use std::_Exit instead of _exit.Tor Egge2023-02-081-1/+3
|/
* GC old config valuesTor Brede Vekterli2022-12-011-13/+0
|
* use common install_absolute_symlinkArne Juul2022-10-031-1/+1
|
* Let deadlock detector dump stack of potentially deadlocked threadsTor Brede Vekterli2022-06-021-0/+1
| | | | | | | | | | | Enable cross-thread stack tracing as part of signal handler init code in both storage and proton daemons. Make deadlock detector parameters live configurable. Remove existing `restart` config definition annotations to reflect this. Remove dumping of bucket DB locks which hasn't really worked for a long time now.
* Fold searchlib_uca into searchlibHenning Baldersheim2022-05-211-1/+0
|
* We only need to expose a single libstorage.so. No need to split up in ↵Henning Baldersheim2022-05-181-1/+1
| | | | storage storgae_storageserver and storage_distributor.
* Revert "Revert "Collapse vsm into streamingvisitors""Henning Baldersheim2022-05-151-1/+1
|
* Revert "Collapse vsm into streamingvisitors"Henning Baldersheim2022-05-151-1/+1
|
* Collapse vsm into streamingvisitorsHenning Baldersheim2022-05-141-1/+1
|
* remove FastOS_ApplicationHåvard Pettersen2022-04-081-12/+13
| | | | | | | | fixup (per application): - maybe ignore SIGPIPE - wire argc/argv untangle Vespa Test Framework strip down deprecated TestApp
* Logging is not signal safe (implicit allocs), so don't do it inside the ↵Tor Brede Vekterli2022-03-031-1/+0
| | | | signal handler
* Make ConfigUri constructors explicit and use same context where possible in ↵Henning Baldersheim2022-02-206-9/+8
| | | | proton.
* Add explicit on constructor and deinline destructors.Henning Baldersheim2022-02-071-1/+1
|
* Reduce code visibility and include only what you need from config library.Henning Baldersheim2022-02-062-1/+4
|
* track namespace move in documenttypes.defArne H Juul2021-12-022-2/+2
| | | | | | | * For C++ code this introduces a "document::config" namespace, which will sometimes conflict with the global "config" namespace. * Move all forward-declarations of the types DocumenttypesConfig and DocumenttypesConfigBuilder to a common header file.
* Update 2019 Oath copyrights.gjoranv2021-10-271-1/+1
|
* Update 2017 copyright notices.gjoranv2021-10-0718-18/+18
|
* Flip to always use the new distributor stripe code path.Geir Storli2021-09-161-7/+13
| | | | If the number of stripes is not configured, we tune it based on the sampled number of CPU cores.
* Add safeguards for num distributor stripes being set to -1.Geir Storli2021-09-071-1/+1
|
* avoid deadlock on signal lockArne Juul2021-06-021-3/+1
| | | | | | | * a signal handler is not a thread * if the main thread holds the lock when the signal handler is invoked in the same thread, it will deadlock * holding the lock is not necessary for notify_one()
* Add validation of the number of distributor stripes from config and add more ↵Geir Storli2021-06-011-3/+19
| | | | | | asserts. This ensures the number of stripes is a power of 2 and within MaxStripes boundary.
* Propagate num_distributor_stripes cfg to Distributor ctor and instantiate ↵Geir Storli2021-04-222-8/+9
| | | | | | | BucketDBUpdater if needed. At the same time remove the manageActiveBucketCopies flag, which has been true since the Storage provider was removed years ago.
* Include exception where needed and use std:.make_uniqueHenning Baldersheim2021-01-181-1/+2
|
* Improve handling of exceptions during distributor startupTor Brede Vekterli2021-01-051-2/+2
| | | | | | | | | | | | Remove call to requestShutdown which could try to use components that weren't properly set up yet. Only used for _maybe_ being able to scream an error to the cluster controller, but this has very limited usefulness in practice. Since exceptions are categorized and logged with backtrace at the root application main level, remove redundant logging. Also enforce component shutdown for network setup exceptions (not sure why this wasn't there to start with).
* - Reorder members for compactness.Henning Baldersheim2020-11-231-13/+14
| | | | | - Avoid needing the definition of Error everywhere. - use std::make_xxx and other c++11 constructs.