summaryrefslogtreecommitdiffstats
path: root/searchcore
Commit message (Collapse)AuthorAgeFilesLines
* Use new C++ document selection parserTor Brede Vekterli2017-11-142-6/+3
| | | | | | | | | | Based on Flex/Bison and replaces old Spirit.Classic parser. New parser is pure and does not require any locking, unlike the previous implementation. This also removes parsing of the deprecated searchcolumn feature. Adds build-time dependencies on Flex and Bison.
* Use std::mutex in searchcore MatchEngine.Tor Egge2017-11-142-7/+8
|
* Use std::lock_guard instead of std::unique_lock.Tor Egge2017-11-1310-32/+31
|
* Incorporate replay cost of a single operation in prepare restart flush strategy.Geir Storli2017-11-097-30/+72
|
* Only commit attributes once when handling a batch remove in attribute writer.Geir Storli2017-11-081-3/+41
| | | | | This avoids potential accumulation of dead memory when handling delete bucket operations while attributes are being flushed and attribute guards being held.
* Remove unused code.Geir Storli2017-11-081-6/+0
|
* Add test for batch remove on attribute writer.Geir Storli2017-11-081-6/+36
|
* Revert "Geirst/commit attributes once when handling delete bucket operations"Arnstein Ressem2017-11-072-77/+16
|
* clean up tensor engine APIHåvard Pettersen2017-11-071-7/+4
| | | | make Tensor a subclass of Value
* Only commit attributes once when handling a batch remove in attribute writer.Geir Storli2017-11-071-4/+41
| | | | | This avoids potential accumulation of dead memory when handling delete bucket operations while attributes are being flushed and attribute guards being held.
* Remove unused code.Geir Storli2017-11-071-6/+0
|
* Add test for batch remove on attribute writer.Geir Storli2017-11-071-6/+36
|
* Avoid trying to shrink an attribute if it is smaller than expected,Tor Egge2017-11-061-1/+9
| | | | | e.g. due to later config changes removing the attribute causing less information to be available during transaction log replay.
* Wait untill all structures are up before allowing inspection of them.Henning Baldersheim2017-11-031-3/+3
|
* Merge pull request #3925 from ↵Henning Baldersheim2017-11-0218-179/+112
|\ | | | | | | | | vespa-engine/balder/enable-metrics-reporting-earlier-in-proton Balder/enable metrics reporting earlier in proton
| * Do not follow the nullptr.Henning Baldersheim2017-11-026-40/+28
| |
| * Clean up some unused code.Henning Baldersheim2017-10-302-68/+27
| |
| * Open state API befor replaying TLS and setting up stuff to allow insight ↵Henning Baldersheim2017-10-271-4/+3
| | | | | | | | during startup.
| * Minor code maintenance while waiting for build to complete.Henning Baldersheim2017-10-2711-67/+54
| |
* | Merge pull request #3961 from ↵Geir Storli2017-11-011-5/+23
|\ \ | | | | | | | | | | | | vespa-engine/vekterli/catch-and-retry-disk-usage-sampling Catch exceptions and retry disk usage sampling
| * | Catch exceptions and retry disk usage samplingTor Brede Vekterli2017-11-011-5/+23
| |/ | | | | | | | | | | Recursive directory iteration may throw on concurrent FS modifications, so catch and retry the directory iteration automatically. Fallback to returning 0 if all retries fail is considered safe.
* / Use std::promise<void> instead of std::promise<bool> when value is ignored.Tor Egge2017-10-316-35/+35
|/
* Remove unneeded include statements.Tor Egge2017-10-272-2/+0
|
* Use std::mutex and std::condition_variable instead of FastOS_Cond.Tor Egge2017-10-272-22/+20
|
* Use std::mutex and std::condition_variable instead of FastOS_Cond.Tor Egge2017-10-272-10/+10
|
* Use std::unique_lock<std::mutex> to guard node manager.Tor Egge2017-10-272-66/+50
|
* Use std::unique_lock<std::mutex> to guard fnet search.Tor Egge2017-10-272-76/+85
|
* Use std::unique_lock<std::mutex> to guard engine.Tor Egge2017-10-274-31/+30
|
* Use std::atomic<int> instead of a mutex protected int to protect againstTor Egge2017-10-272-21/+6
| | | | multiple outstanding monitor queries.
* Use std::unique_lock<std::mutex> to guard data set.Tor Egge2017-10-2711-145/+140
|
* Adjust hard memory limits for flush strategy.Geir Storli2017-10-264-19/+34
|
* Changes to hwinfo config requires restart of proton.Geir Storli2017-10-251-7/+7
|
* Activate disk usage sampling for docker nodes that have shared disk.Geir Storli2017-10-241-2/+1
|
* Rename storage::spi::test::makeBucket to storage::spi::test::makeSpiBucket.Tor Egge2017-10-205-12/+12
|
* Here we can not move the token. We need it ourselves.Henning Baldersheim2017-10-181-4/+4
|
* Use make_shared/make_uniqueHenning Baldersheim2017-10-181-16/+18
|
* Use the existing sync method.Henning Baldersheim2017-10-181-3/+1
|
* Introduce async write interface in the TLS.Henning Baldersheim2017-10-1812-92/+88
| | | | | Wire it in all the way up and in to proton. The implementation is still synchronous.
* Revert "Introduce async write interface in the TLS."Henning Baldersheim2017-10-1712-88/+92
|
* Revert "Use the existing sync method."Henning Baldersheim2017-10-171-1/+3
|
* Merge pull request #3793 from ↵Henning Baldersheim2017-10-171-1/+1
|\ | | | | | | | | vespa-engine/balder/do-not-acces-members-that-are-not-initialized Do not access the FS4 server unless it is constructed.
| * Do not access the FS4 server unless it is constructed.Henning Baldersheim2017-10-171-1/+1
| |
* | Merge pull request #3795 from vespa-engine/balder/wire-in-a-destructor-callbackHenning Baldersheim2017-10-171-3/+1
|\ \ | | | | | | Use the existing sync method.
| * | Use the existing sync method.Henning Baldersheim2017-10-171-3/+1
| | |
* | | Merge pull request #3792 from vespa-engine/balder/wire-in-a-destructor-callbackHenning Baldersheim2017-10-1712-92/+88
|\| | | |/ |/| Introduce async write interface in the TLS.
| * Introduce async write interface in the TLS.Henning Baldersheim2017-10-1712-92/+88
| | | | | | | | | | Wire it in all the way up and in to proton. The implementation is still synchronous.
* | Add guard against file being removed while doing directory scan.Geir Storli2017-10-171-1/+5
|/
* Merge pull request #3770 from vespa-engine/balder/remove-ooscliArne H Juul2017-10-175-122/+20
|\ | | | | Remove functionality from pre SPI era.
| * Remove functionality from pre SPI era.Henning Baldersheim2017-10-165-122/+20
| |
* | Remove background.threads from proton.def, replaced by feeding.concurrency.Geir Storli2017-10-161-6/+1
| |