aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src
Commit message (Collapse)AuthorAgeFilesLines
* Log at level WARNHarald Musum2021-02-081-3/+3
|
* Print infor when detecting hostname fails and we fallback to localhostHarald Musum2021-02-081-0/+4
|
* Add override and noexcept.Henning Baldersheim2021-02-051-1/+1
|
* Avoid using default values.Henning Baldersheim2021-02-052-2/+8
|
* Refactor test for easier reuse.Henning Baldersheim2021-02-041-0/+2
|
* added some optimizations for single-dimension sparse matchingHåvard Pettersen2021-02-022-3/+9
|
* Merge pull request #16330 from vespa-engine/arnej/use-genspec-in-unit-tests-2Håvard Pettersen2021-02-021-0/+13
|\ | | | | Arnej/use genspec in unit tests 2
| * EXPECT_EXCEPTION -> VESPA_EXPECT_EXCEPTION in vespa/vespalib/gtest/gtest.hArne Juul2021-02-021-0/+13
| |
* | Merge pull request #16323 from ↵Henning Baldersheim2021-02-021-2/+2
|\ \ | | | | | | | | | | | | vespa-engine/balder/implement-sync-of-bucket-executor Properly track execution of BucketTasks and provide sync() and order…
| * | Properly track execution of BucketTasks and provide sync() and orderly shutdown.Henning Baldersheim2021-02-021-2/+2
| |/
* / Include cstddef to get definition of size_tTor Egge2021-02-021-1/+1
|/
* Revert "Implement BucketExecutor::sync."Henning Baldersheim2021-02-021-2/+2
|
* Implement BucketExecutor::sync.Henning Baldersheim2021-02-011-2/+2
|
* Use vespalib::duration for timeoutsHenning Baldersheim2021-01-3127-59/+63
|
* Wire reporting of attribute resource usage all the way to the cluster ↵Geir Storli2021-01-291-1/+1
| | | | controller via the host info API.
* GC closures.Henning Baldersheim2021-01-2611-1810/+0
|
* Add DummyBucketExecutor for use in testing.Henning Baldersheim2021-01-211-4/+25
|
* Move general purpose destructor callbacks to vespalib.Henning Baldersheim2021-01-193-0/+45
|
* Merge pull request #16049 from ↵Geir Storli2021-01-183-33/+87
|\ | | | | | | | | vespa-engine/havardpe/better-stats-for-shared-string-repo improve stats for shared string repo
| * improve stats for shared string repoHåvard Pettersen2021-01-143-33/+87
| |
* | Move idestructorcallback.h to vespalib module and ↵Henning Baldersheim2021-01-141-0/+22
|/ | | | search::IDestructorCallback to vespalib::IdestructorCallback.
* Merge pull request #16033 from ↵Arne H Juul2021-01-143-32/+192
|\ | | | | | | | | vespa-engine/havardpe/direct-string-id-for-small-numbers use direct string id for small numbers
| * use direct string id for small numbersHåvard Pettersen2021-01-133-32/+192
| | | | | | | | | | | | add stat for min_free (free address space in most filled part) fail with assert when address space is exhausted, but not before
* | - Add the cost to expensive tests.Henning Baldersheim2021-01-133-5/+5
| | | | | | | | - Use less resources on the fnet_parallel_rpc test bu just using as many threads as you have cores.
* | Annotate the expensive array_store test not the array_test.Henning Baldersheim2021-01-132-2/+2
| |
* | Start expensive tests earlier.Henning Baldersheim2021-01-131-1/+1
| |
* | Store the entry refs in an vepalib::hash_map that is faster than std::map. ↵Henning Baldersheim2021-01-123-9/+12
| | | | | | | | Saves 30+% of test time
* | Ignore clang warning (-Wself-assign-overloaded).Tor Egge2021-01-111-0/+7
| |
* | Merge pull request #15991 from ↵Henning Baldersheim2021-01-111-2/+2
|\ \ | | | | | | | | | | | | vespa-engine/toregge/buffertype-class-has-two-template-arguments BufferType class has two template arguments.
| * | BufferType class has two template arguments.Tor Egge2021-01-111-2/+2
| |/
* / Use 8 bits for _state field.Tor Egge2021-01-111-1/+1
|/
* Merge pull request #15986 from vespa-engine/havardpe/string-id-cleanupArne H Juul2021-01-114-121/+283
|\ | | | | add string_id and simplify multi-handle container
| * fixup after PR commentsHåvard Pettersen2021-01-113-2/+10
| |
| * add string_id and simplify multi-handle containerHåvard Pettersen2021-01-114-121/+275
| | | | | | | | | | | | | | add more testing static instance instead of lazy singleton use logging for leak detection drop label_t type alias
* | Update test and add instantiations.Henning Baldersheim2021-01-112-6/+6
| |
* | ElemCount must be larger than 32 bits.Henning Baldersheim2021-01-101-1/+1
| |
* | Update copyright.Henning Baldersheim2021-01-101-1/+1
| |
* | Update copyright.Henning Baldersheim2021-01-102-2/+2
| |
* | Add eolHenning Baldersheim2021-01-103-3/+3
| |
* | Have the BufferType::_emptyEntry be static.Henning Baldersheim2021-01-1026-190/+365
| | | | | | | | Use an array of buffer types in the array class.
* | The bufferstate vector normally has 8k elements. Since the BufferState was ↵Henning Baldersheim2021-01-105-74/+87
|/ | | | | | | | 160 bytes this is aroung 1.2M. This reduces the BufferState to 128 making it fit nicely in a 1M allocation. However the cost is that you get an extra small allocation for the _freeList. We should see if we could reclain that by further reducing the size of the BufferState. Perhaps the element count will be sufficient with uint32_t.
* use string ids as tensor labelsHåvard Pettersen2021-01-052-21/+88
|
* Include algorithm header file when needed.Tor Egge2021-01-041-0/+1
|
* Add braces for conditional statements.Tor Egge2021-01-041-2/+3
|
* Merge pull request #15887 from vespa-engine/arnej/abort-instead-of-infinite-loopTor Egge2021-01-041-3/+14
|\ | | | | avoid infinite loop
| * avoid infinite loopArne Juul2021-01-041-3/+14
| | | | | | | | | | * try all possible buffer ids, if none are free abort(). This instead of spinning in an infinite loop.
* | Add noexcept specifier to vespalib::string compare operators.Tor Egge2021-01-041-20/+20
|/
* Merge pull request #15816 from ↵Henning Baldersheim2020-12-153-0/+14
|\ | | | | | | | | vespa-engine/geirst/executor-threading-service-explorer Add explorer for the ExecutorThreadingService used in a document data…
| * Add explorer for the ExecutorThreadingService used in a document database.Geir Storli2020-12-153-0/+14
| |
* | Only let reindexing puts through locked bucket if their token matches that ↵Tor Brede Vekterli2020-12-113-0/+25
|/ | | | | | | | | | | of the lock Avoids race condition edge case where reindexing puts from an outdated visitor may pass through a bucket lock intended for a newly created visitor operation Tokens are 128-bit values derived from a CSPRNG, so uniqueness is for all intents and purposes guaranteed.