summaryrefslogtreecommitdiffstats
path: root/searchcore
Commit message (Collapse)AuthorAgeFilesLines
* fix off-by-one in coverage reportingArne Juul2017-12-051-6/+17
| | | | | | | * using getCommittedDocIdLimit() isn't really what we want to do, it will (even in the simplest case) be 1 more than the number of indexed documents. Use getNumUsedLids(), and do an extra check to avoid division by zero.
* Add metric for replay time of the transaction log during start-up.Geir Storli2017-12-042-1/+4
|
* Merge pull request #4322 from ↵Henning Baldersheim2017-12-048-46/+59
|\ | | | | | | | | vespa-engine/geirst/add-more-proton-resource-limit-metrics Add metrics on how far away from disk and memory resource limits prot…
| * Add metrics on how far away from disk and memory resource limits proton is.Geir Storli2017-12-018-46/+59
| |
* | Split parent + container-dependency-versions from root pom.gjoranv2017-12-011-0/+1
|/ | | | | | - Add missing dependencies so that all provided non-yahoo jars are listed in container-dependency-versions. - Add relativePath for all child poms of parent.
* Revert "Gjoranv/split parent2"gjoranv2017-11-301-1/+0
|
* Split parent + container-dependency-versions from root pom.gjoranv2017-11-301-0/+1
| | | | | | - Add missing dependencies so that all provided non-yahoo jars are listed in container-dependency-versions. - Add relativePath for all child poms of parent.
* Make flushDone() wait until scheduled task has been handled.Tor Egge2017-11-293-6/+7
| | | | Simplify locking by taking strategyGuard within getSortedTargetList().
* Adjust comments for flushDone() method (called by flush scheduler thread).Tor Egge2017-11-292-2/+2
|
* Add unit tests for transaction log pruning when closing flush engine andTor Egge2017-11-291-9/+55
| | | | when completing priority flush strategy.
* Log event each time transaction log is pruned.Tor Egge2017-11-293-0/+17
|
* Try to prune tls when shutting down flush engine or when completingTor Egge2017-11-281-0/+3
| | | | handling of a priority flush strategy.
* Use standard locking in FlushEngine.Tor Egge2017-11-282-38/+43
|
* Add bucketSpace argument to ↵Tor Egge2017-11-206-19/+21
| | | | storage::spi::PersistenceProvider::setClusterState() method.
* Merge pull request #4113 from ↵Geir Storli2017-11-142-34/+35
|\ | | | | | | | | vespa-engine/toregge/use-std-mutex-in-searchcore-persistence-engine Use std::mutex in searchore PersistenceEngine.
| * Use std::lock_guard and scopes instead of std::unique_lock.Tor Egge2017-11-141-14/+17
| |
| * Use std::mutex in searchore PersistenceEngine.Tor Egge2017-11-142-23/+21
| |
* | Merge pull request #4123 from ↵Geir Storli2017-11-148-15/+16
|\ \ | | | | | | | | | | | | vespa-engine/toregge/consolidate-makebucketspace-test-functions Consolidate makeBucketSpace() test functions to document module.
| * | Consolidate makeBucketSpace() test functions to document module.Tor Egge2017-11-148-15/+16
| |/
* | Merge pull request #4116 from ↵Henning Baldersheim2017-11-141-15/+6
|\ \ | | | | | | | | | | | | vespa-engine/balder/simplify-and-always-hold-lock-on-map Always hold the lock when accessing the handler map.
| * | Always hold the lock when accessing the handler map.Henning Baldersheim2017-11-141-15/+6
| |/ | | | | | | Simplify, and avoid naked new.
* / 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
|