summaryrefslogtreecommitdiffstats
path: root/vespalib
Commit message (Collapse)AuthorAgeFilesLines
* Use modified ECMAScript regular expression grammar for filtering testsTor Egge2019-10-211-1/+1
| | | | to run using vespalib testkit.
* Remove unused methods in vespalib::Regexp.Tor Egge2019-10-193-185/+13
|
* Merge pull request #10826 from ↵Håvard Pettersen2019-10-011-19/+0
|\ | | | | | | | | vespa-engine/revert-10324-toregge/avoid-hang-in-vespalib-websocket-acceptor Revert "Avoid hang in vepalib::ws::Acceptor::accept_main on systems where"
| * Revert "Avoid hang in vepalib::ws::Acceptor::accept_main on systems where"Tor Egge2019-09-301-19/+0
| |
* | avoid blocking accept callsHåvard Pettersen2019-09-303-7/+58
|/ | | | | | | | this is to increase portability to platforms not implementing the close-convention for (server) sockets. also set all accepted sockets to blocking mode to avoid issues related to maybe inheriting this setting from the server socket.
* Detect enum store entry reference count overflow.Tor Egge2019-09-232-2/+11
|
* Don't use frozen view when getting number of unique values.Geir Storli2019-09-131-1/+1
| | | | This is aligned with how enum store dictionary gets this number.
* Merge pull request #10592 from vespa-engine/geirst/enum-store-cleanup-4Geir Storli2019-09-104-13/+3
|\ | | | | Enum store cleanup 4
| * Remove unused functions.Geir Storli2019-09-103-9/+0
| |
| * Simplify how we iterate the set of unique values when saving an enumerated ↵Geir Storli2019-09-103-4/+0
| | | | | | | | attribute.
| * Stop exposing low-level data store out of enum store.Geir Storli2019-09-102-0/+3
| |
* | Allocate nested vector used to map from EntryRef to enum value earlierTor Egge2019-09-102-1/+10
|/ | | | to avoid interference from compaction when populating the mapping.
* Update class comment.Geir Storli2019-09-101-1/+1
|
* Delay instantiation of enum store dictionary to after unique store is ↵Geir Storli2019-09-102-0/+8
| | | | | | instantiated. This should ensure that it compiles using clang.
* Reduce code duplication by letting enum store comparators inherit unique ↵Geir Storli2019-09-094-36/+52
| | | | store comparators.
* Pass ConstArrayRef by value.Geir Storli2019-09-043-3/+3
|
* Simplify how dictionary is populated when loading enum store.Geir Storli2019-09-043-1/+15
|
* Merge pull request #10484 from ↵Håvard Pettersen2019-09-021-1/+1
|\ | | | | | | | | vespa-engine/havardpe/more-robust-tensor-test-spec-verify more robust verification of tensor conformance test generation
| * more robust verification of tensor conformance test generationHåvard Pettersen2019-09-021-1/+1
| |
* | Restore enum store compaction support for enum attributes.Tor Egge2019-09-024-41/+99
| |
* | Improve memory management in all enum attributes.Geir Storli2019-09-027-1/+42
| | | | | | | | | | | | | | The new enum store uses 1024 small data buffers instead of 2 large as before. This avoids the problem with memory spikes when the active buffer was full and all values had to be compacted into the other buffer. In addition the new enum store uses free lists such that compaction is not needed as often.
* | Remove inlining warning during compilation of unique store unitTor Egge2019-09-011-5/+13
| | | | | | | | test with gcc 9.
* | Collapse EnumStoreBase into EnumStoreT in preparation for replacing ↵Geir Storli2019-08-281-0/+2
| | | | | | | | underlying data store with unique store.
* | Merge pull request #10404 from vespa-engine/balder/avoid-time-callsHenning Baldersheim2019-08-281-1/+2
|\ \ | |/ |/| Avoid calling time(nullptr).
| * Avoid calling time(nullptr)Henning Baldersheim2019-08-261-1/+2
| |
* | Rename UniqueStoreDictionaryBase -> IUniqueStoreDictionary.Geir Storli2019-08-279-22/+22
| |
* | Rename enum store dictionary api and implementation and move to separate files.Geir Storli2019-08-271-2/+2
| |
* | Merge pull request #10424 from ↵Geir Storli2019-08-278-24/+183
|\ \ | | | | | | | | | | | | vespa-engine/geirst/rewrite-enum-store-dictionary-3 Geirst/rewrite enum store dictionary 3
| * | Move count functions from enum store dictionary to unique store dictionary.Geir Storli2019-08-276-0/+124
| | |
| * | Add read snapshot class for unique store dictionary.Geir Storli2019-08-275-24/+59
| | |
* | | Also update compaction count for old style compaction.Tor Egge2019-08-272-2/+3
|/ / | | | | | | | | Test that compaction count is updated when compacting enum store. Style fixes.
* | Merge pull request #10417 from ↵Geir Storli2019-08-274-5/+37
|\ \ | | | | | | | | | | | | vespa-engine/toregge/use-unique-store-enumerator-when-saving-enumerated-attributes Use unique store enumerator when saving enumerated attribute vectors.
| * | Use unique store enumerator when saving enumerated attribute vectors.Tor Egge2019-08-264-5/+37
| | |
* | | Merge pull request #10401 from vespa-engine/balder/avoid-sync-on-shared-executorHenning Baldersheim2019-08-263-10/+16
|\ \ \ | |/ / |/| | Balder/avoid sync on shared executor
| * | Split ThreadExecutor in syncable and not.Henning Baldersheim2019-08-253-10/+16
| |/
* | Merge pull request #10398 from ↵Geir Storli2019-08-267-43/+45
|\ \ | | | | | | | | | | | | vespa-engine/toregge/add-workaround-for-aligned-entry-ref Rename UniqueStoreSaver to UniqueStoreEnumerator.
| * | Fix class comment.Tor Egge2019-08-231-1/+1
| | |
| * | Rename UniqueStoreSaver => UniqueStoreEnumerator.Tor Egge2019-08-235-33/+32
| | |
| * | Trim down include.Tor Egge2019-08-231-1/+1
| | |
| * | Add workaround for use of deprecated AlignedEntryRefT.Tor Egge2019-08-234-8/+11
| |/
* / Change EnumStoreDictBase to inherit UniqueStoreDictionaryBase to use more ↵Geir Storli2019-08-232-34/+36
|/ | | | functions directly from that API.
* Merge pull request #10384 from vespa-engine/geirst/rewrite-enum-store-dictionaryGeir Storli2019-08-234-38/+63
|\ | | | | Geirst/rewrite enum store dictionary
| * Rename template argument.Geir Storli2019-08-232-37/+34
| |
| * Rewrite enum store dictionary to inherit unique store dictionary.Geir Storli2019-08-222-3/+5
| |
| * Change unique store dictionary to take btree dictionary type as template ↵Geir Storli2019-08-224-31/+57
| | | | | | | | argument.
* | Do not generate old formats, not even in tests.Henning Baldersheim2019-08-212-6/+4
|/
* Merge pull request #10324 from ↵Tor Egge2019-08-211-0/+19
|\ | | | | | | | | vespa-engine/toregge/avoid-hang-in-vespalib-websocket-acceptor Avoid hang in vepalib::ws::Acceptor::accept_main on systems where
| * Avoid hang in vepalib::ws::Acceptor::accept_main on systems whereTor Egge2019-08-191-0/+19
| | | | | | | | shutdown on socket doesn't wake up a blocking accept call on same socket.
* | Test normal doubles.Tor Egge2019-08-201-1/+1
| |
* | Verify that we can retrieve infinite value from unique store.Tor Egge2019-08-201-0/+4
| |