aboutsummaryrefslogtreecommitdiffstats
path: root/storageframework
Commit message (Collapse)AuthorAgeFilesLines
* Update 2019 Oath copyrights.gjoranv2021-10-271-1/+1
|
* Update 2017 copyright notices.gjoranv2021-10-0759-59/+59
|
* Increase tick wait duration for main distributor thread when running with ↵Geir Storli2021-09-081-0/+1
| | | | | | | multiple stripes. This because it will no longer be running background maintenance jobs (non-event tick will instead be used primarily for resending full bucket fetches etc).
* use size literals in storageArne Juul2021-02-151-1/+2
|
* - Wire in the guard to make it evident that we have it when making changes ↵Henning Baldersheim2020-12-151-1/+3
| | | | | | that require it. - Clean up some old members and code not used any more.
* GC unused html metrics reporting.Henning Baldersheim2020-11-261-7/+3
|
* Reduce usage of ComponentHenning Baldersheim2020-10-181-2/+2
|
* Use std::mutex/std::condition_variable over vespalib::MonitorHenning Baldersheim2020-10-132-7/+4
|
* Properly lock criticalk section.Henning Baldersheim2020-10-131-2/+3
|
* Time is no longer given in milliseconds.Henning Baldersheim2020-10-136-46/+45
|
* Use std::mutexHenning Baldersheim2020-10-131-1/+0
|
* - Use std::mutex/std::condition_varaible over vespalib::Monitor.Henning Baldersheim2020-10-1317-191/+157
| | | | - use vespa::duration over storage::framework::XXXTime.
* vespalib::Monitor -> std::mutex and std::condition_variableHenning Baldersheim2020-10-122-7/+2
|
* No longer any need to scope the notify call. Also remove comment on timeout.Henning Baldersheim2020-10-121-3/+1
|
* vespalib::Monitor -> std::mutex and std::condition_variableHenning Baldersheim2020-10-122-9/+5
|
* - GC the last usages of vespalib::Lock.Henning Baldersheim2020-10-082-1/+1
| | | | - Now it is only vespalib::Monitor left
* Use vespalib::Lock -> std::mutexHenning Baldersheim2020-10-085-35/+29
|
* Remove broken copy and move constructor and assignment operatoos on ↵Henning Baldersheim2020-10-075-2/+4
| | | | | | vespalib::Lock and vespalib::Monitor. Also repair broken usages of the same.
* Use noexcept as advise by gcc -WnoexceptHenning Baldersheim2020-10-061-1/+1
|
* C++11 style updates and cleanupTor Brede Vekterli2020-07-162-32/+34
|
* Consolidate search for GTest.Tor Egge2020-07-073-4/+0
|
* Use find_package to find gtest library.Tor Egge2020-06-293-3/+7
|
* Implement async putHenning Baldersheim2020-05-041-1/+1
| | | | Implement async remove.
* Revert "- Implement async put"Harald Musum2020-05-041-1/+1
|
* - Implement async putHenning Baldersheim2020-05-041-1/+1
| | | | | | - Move result processing to MessageTracker - Wire putAsync through provider error wrapper too. - Handle both sync and async replies in tests.
* Fix taskinfo printing in storageframework ticking thread test.Tor Egge2020-04-231-1/+1
|
* Remove test of error handling anti-patternTor Brede Vekterli2020-04-171-15/+0
| | | | | Invariant violations should be assertions and not exceptions, so no point in testing that this is handled gracefully.
* Code cleanup, no functional changesTor Brede Vekterli2020-04-172-49/+39
|
* Fix issues detected by clang 10.Tor Egge2020-02-141-1/+1
|
* FastOS_THread::Sleep -> std::chrono::sleep_forHenning Baldersheim2019-12-041-14/+16
| | | | | Renamed Timer -> ScheduledExecutor. Do not include thread.h when not needed in header files.
* time(0) to chrono::steady_clock.Henning Baldersheim2019-08-231-6/+2
|
* Remove CppUnit dependencies in modulesTor Brede Vekterli2019-06-261-1/+0
| | | | Move test config helpers out of cppunit submodule.
* Add missing includes.Tor Egge2019-06-111-0/+1
|
* Use ASSERT_TRUE() where appropriate.Geir Storli2019-05-271-1/+1
|
* Rewrite storageframework tests from cppunit to gtest.Geir Storli2019-05-275-129/+49
|
* Remove empty test.Geir Storli2019-05-275-37/+0
|
* stop using python script for cppunit testsArne Juul2019-03-261-3/+1
|
* Fix format string in storageframework module.Tor Egge2019-03-131-2/+2
|
* Add '()' to macro definition.Geir Storli2019-03-011-1/+1
|
* Simplify.Geir Storli2019-03-011-1/+0
|
* Reduce code duplication in gtest runners.Geir Storli2019-02-221-8/+2
|
* Add gtest runner in storageframework and migrate timetest from CppUnit to gtest.Geir Storli2019-02-185-48/+59
|
* Adjust forward declarations in storageframework.Tor Egge2019-02-038-14/+14
|
* Merge pull request #8109 from vespa-engine/vekterli/fix-tsan-detected-data-racesTor Brede Vekterli2019-01-152-3/+3
|\ | | | | Fix some ThreadSanitizer reported data races
| * Make thread interruption flag atomicTor Brede Vekterli2019-01-092-3/+3
| |
* | improve path/query handlingHåvard Pettersen2019-01-142-17/+40
|/ | | | | | - return attributes by value to avoid referencing deconstructed objects. - use path/query form portal request to avoid dequoting issues - log raw uri instead of dequoted non-parsed uri
* use portal in storage webserverHåvard Pettersen2019-01-022-18/+1
|
* remove legacy tags, always pass vectorArne Juul2018-10-081-1/+1
|
* Remove stringref::c_str()Tor Brede Vekterli2018-07-251-1/+1
| | | | | | | | | | | | | The expected semantics of c_str() (a null-terminated string) cannot be satisfied with a string reference, so remove the function entirely to prevent people from using it in buggy ways. Replaces c_str() with data() in places where it is presumed safe, otherwise constructs temporary string instances. Certain callsites have been de-stringref'd in favor of regular strings, in particular where C APIs have been transitively called. The vast majority of these were called with string parameters anyway, so should not cause much extra allocation.
* use LOG_ABORT not just abort()Arne Juul2018-06-121-1/+3
| | | | | | | | | | * abort() has the unfortunate effect that nothing is seen in the log, just an event (which is usually not displayed); so ops people don't see that the program is crashing at all. * LOG_ABORT("message") will log an error with the message (and the file and line) before calling abort(), so it's easy to see what happened. * add or move <vespa/log/log.h> include and LOG_SETUP lines before LOG_ABORT is used (or included).