Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #21868 from vespa-engine/balder/avoid-fieldpathupdate-cp | Henning Baldersheim | 2022-03-29 | 2 | -166/+11 |
|\ | | | | | CloneablePtr -> std::unique_ptr | ||||
| * | CloneablePtr -> std::unique_ptr | Henning Baldersheim | 2022-03-29 | 2 | -166/+11 |
| | | |||||
* | | Remove const type qualifier from member functions that should only be | Tor Egge | 2022-03-29 | 1 | -3/+22 |
|/ | | | | | called from writer in RcuVector, MultiValueMappingBase and CondensedBitVector. | ||||
* | Merge pull request #21855 from ↵ | Geir Storli | 2022-03-28 | 1 | -1/+2 |
|\ | | | | | | | | | vespa-engine/toregge/trim-down-rcuvector-interface Trim down rcuvector interface. | ||||
| * | Trim down rcuvector interface. | Tor Egge | 2022-03-28 | 1 | -1/+2 |
| | | |||||
* | | Merge pull request #21854 from ↵ | Henning Baldersheim | 2022-03-28 | 1 | -1/+4 |
|\ \ | | | | | | | | | | | | | vespa-engine/vekterli/do-not-create-string-from-nullptr Don't attempt to create a string from nullptr if demangling fails | ||||
| * | | Don't attempt to create a string from nullptr if demangling fails | Tor Brede Vekterli | 2022-03-28 | 1 | -1/+4 |
| |/ | |||||
* | | Merge pull request #21843 from vespa-engine/vekterli/fix-more-undefined-behavior | Tor Brede Vekterli | 2022-03-28 | 1 | -1/+1 |
|\ \ | |/ |/| | Vekterli/fix more undefined behavior | ||||
| * | Explicit initialize _shutdown field | Tor Brede Vekterli | 2022-03-28 | 1 | -1/+1 |
| | | |||||
| * | Ensure default ctor initializes blocked-field explicitly | Tor Brede Vekterli | 2022-03-25 | 1 | -1/+1 |
| | | |||||
* | | Fix typo (levenstein -> levenshtein). | Geir Storli | 2022-03-25 | 7 | -18/+18 |
|/ | |||||
* | Merge pull request #21811 from ↵ | Henning Baldersheim | 2022-03-24 | 2 | -0/+41 |
|\ | | | | | | | | | vespa-engine/vekterli/use-vespalib-string-in-tas-condition-2 Use vespalib::string in TestAndSetCondition - take 2, passing tests edition™ | ||||
| * | Use vespalib::string in TestAndSetCondition | Tor Brede Vekterli | 2022-03-24 | 2 | -0/+41 |
| | | | | | | | | | | Avoids some implicit conversions. Add `starts_with` to `vespalib::string` and `vespalib::stringref` to allow drop-in replacement for Document API code. | ||||
* | | Merge pull request #21813 from ↵ | Tor Egge | 2022-03-24 | 1 | -2/+2 |
|\ \ | |/ |/| | | | | | vespa-engine/vekterli/avoid-compile-time-possible-nullptr-warnings Make it obvious to the compiler that nullptr format string is not possible | ||||
| * | Make it obvious to the compiler that nullptr format string is not possible | Tor Brede Vekterli | 2022-03-24 | 1 | -2/+2 |
| | | |||||
* | | Revert "Use vespalib::string in TestAndSetCondition" | Tor Brede Vekterli | 2022-03-24 | 2 | -41/+0 |
|/ | |||||
* | Use vespalib::string in TestAndSetCondition | Tor Brede Vekterli | 2022-03-24 | 2 | -0/+41 |
| | | | | | Avoids some implicit conversions. Add `starts_with` to `vespalib::string` and `vespalib::stringref` to allow drop-in replacement for Document API code. | ||||
* | Added a comment to LevensteinDistance class | Alexey Chernyshev | 2022-03-23 | 1 | -0/+10 |
| | |||||
* | Addressing more comments | Alexey Chernyshev | 2022-03-23 | 10 | -142/+202 |
| | |||||
* | Addressing comments + fixing test | Alexey Chernyshev | 2022-03-23 | 1 | -18/+2 |
| | |||||
* | Introducing fuzzy search | Alexey Chernyshev | 2022-03-23 | 8 | -0/+259 |
| | |||||
* | Add function to lowercase an utf8 string while converting it to ucs4 codepoints. | Geir Storli | 2022-03-18 | 3 | -7/+34 |
| | |||||
* | Always use array of AtomicEntryRef in unique store remapper. | Tor Egge | 2022-03-17 | 2 | -18/+13 |
| | |||||
* | Use AtomicEntryRef and AtomicValueWrapper<uint32_t> in reference attribute. | Tor Egge | 2022-03-17 | 1 | -0/+9 |
| | |||||
* | Add acquire_elem_ref() member function to rcu vector. | Tor Egge | 2022-03-15 | 3 | -6/+173 |
| | |||||
* | Merge pull request #21662 from ↵ | Henning Baldersheim | 2022-03-14 | 2 | -0/+65 |
|\ | | | | | | | | | vespa-engine/vekterli/use-atomic-values-in-btree-bucket-database-impl Make B-tree bucket database values atomic to ensure well-defined access [run-systemtest] | ||||
| * | Make B-tree bucket database values atomic to ensure well-defined access | Tor Brede Vekterli | 2022-03-11 | 2 | -0/+65 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Existing implementation already used explicit acquire/release fences to ensure visibility from writer to concurrent readers, but the values written/read were not of an atomic type and thus _technically_ considered a data race. This commit adds an AtomicValueWrapper wrapper to vespalib which looks and acts much like the existing AtomicEntryRef, but for primitive types that are not related to EntryRefs. The bucket DB B-tree primitive u64 value type is replaced with an atomic wrapper and explicit memory fences are replaced with release stores and acquire loads on the atomic values themselves to ensure they form correct pairs between writer and readers. | ||||
* | | Convert rcu vector unit test to gtest. | Tor Egge | 2022-03-14 | 5 | -137/+164 |
|/ | | | | Factor out generation holder test to separate unit test. | ||||
* | Add noexcept | Henning Baldersheim | 2022-03-10 | 6 | -24/+24 |
| | |||||
* | Reduce exposure of SymbolTable, Stash and other classes not necessary for ↵ | Henning Baldersheim | 2022-03-10 | 14 | -68/+134 |
| | | | | users of Slime. | ||||
* | Prefer std::vector<T, vespalib::allocator_large> over vespalib::Array<T> step 1. | Henning Baldersheim | 2022-03-10 | 4 | -10/+7 |
| | |||||
* | fix tsan warnings | Håvard Pettersen | 2022-03-09 | 1 | -13/+33 |
| | | | | | | | | | | Portal code calls attach from the reactor thread, so most of these warnings will not be relevant there. However, they indicate that we need to be careful about creating the object that will get the callback before creating the reactor token. Also, the token itself is in need of synchronization (like any smart-ptr-like-thing) which makes deleting it inside the call-back somewhat problematic unless there is a lock or it was created in the reactor thread in the first place. | ||||
* | Merge pull request #21614 from vespa-engine/havardpe/avoid-mmap-fail-with-tsan | Henning Baldersheim | 2022-03-09 | 1 | -0/+10 |
|\ | | | | | tsan does not seem too happy about mmap failures | ||||
| * | tsan does not seem too happy about mmap failures | Håvard Pettersen | 2022-03-09 | 1 | -0/+10 |
| | | |||||
* | | Merge pull request #21609 from vespa-engine/balder/add-noexcept | Henning Baldersheim | 2022-03-09 | 1 | -16/+16 |
|\ \ | | | | | | | Add noexcept. | ||||
| * | | Make noexcept conditional. | Henning Baldersheim | 2022-03-09 | 1 | -3/+3 |
| | | | |||||
| * | | Add noexcept. | Henning Baldersheim | 2022-03-09 | 1 | -16/+16 |
| |/ | |||||
* / | Use AtomicEntryRef in MultiValueMappingBase. | Tor Egge | 2022-03-09 | 3 | -31/+10 |
|/ | |||||
* | Merge pull request #21586 from vespa-engine/balder/gc-unused-threadpool | Henning Baldersheim | 2022-03-08 | 2 | -2/+1 |
|\ | | | | | Balder/gc unused threadpool | ||||
| * | Get VESPA_DLL_LOCAL from vespa/fastos/types.h | Henning Baldersheim | 2022-03-07 | 2 | -2/+1 |
| | | |||||
* | | Fix constexpr expression on clang. | Tor Egge | 2022-03-08 | 1 | -6/+8 |
|/ | |||||
* | use atomic to make tsan happy | Håvard Pettersen | 2022-03-07 | 2 | -4/+5 |
| | |||||
* | gc old process code | Håvard Pettersen | 2022-03-05 | 18 | -865/+139 |
| | | | | also added read_line function to new Process code | ||||
* | Merge pull request #21547 from ↵ | Geir Storli | 2022-03-04 | 4 | -7/+7 |
|\ | | | | | | | | | vespa-engine/toregge/use-atomic-entry-ref-as-value-for-enum-store-dictionary-with-posting-lists Use AtomicEntryRef as value for enum store btree dictionary with posting lists. | ||||
| * | Use AtomicEntryRef as value for enum store btree dictionary with posting lists. | Tor Egge | 2022-03-04 | 4 | -7/+7 |
| | | |||||
* | | use /bin/echo when using -n option | Håvard Pettersen | 2022-03-04 | 1 | -2/+2 |
| | | |||||
* | | process code | Håvard Pettersen | 2022-03-04 | 11 | -0/+413 |
|/ | |||||
* | Use AtomicEntryRef as key for unique store btree dictionary. | Tor Egge | 2022-03-03 | 18 | -42/+57 |
| | |||||
* | Unconditionally un-toggle huge page failure flag when mapping was OK | Tor Brede Vekterli | 2022-03-03 | 1 | -3/+1 |
| | |||||
* | Make global alloc hugepages failure flag atomic | Tor Brede Vekterli | 2022-03-03 | 1 | -5/+8 |
| |