diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2022-12-19 16:06:16 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2022-12-20 05:10:52 +0000 |
commit | a00e560b0d8267e9b376e5c0e6a2139a7be63281 (patch) | |
tree | ba207915b8cac9fb92493cc103821f6cce9db31b /searchcore/src/tests/proton/documentdb | |
parent | 05b58ac83b06b00ae97ecafad101e44d4dd76aee (diff) |
Remove stacksize from the thread pools and thread executors.
Diffstat (limited to 'searchcore/src/tests/proton/documentdb')
9 files changed, 10 insertions, 10 deletions
diff --git a/searchcore/src/tests/proton/documentdb/buckethandler/buckethandler_test.cpp b/searchcore/src/tests/proton/documentdb/buckethandler/buckethandler_test.cpp index cadfa8cd72f..dbc0b890cba 100644 --- a/searchcore/src/tests/proton/documentdb/buckethandler/buckethandler_test.cpp +++ b/searchcore/src/tests/proton/documentdb/buckethandler/buckethandler_test.cpp @@ -103,7 +103,7 @@ struct Fixture _ready(_bucketDB, SubDbType::READY), _removed(_bucketDB, SubDbType::REMOVED), _notReady(_bucketDB, SubDbType::NOTREADY), - _exec(1, 64000), + _exec(1), _handler(_exec), _changedHandler(), _calc(new BucketStateCalculator()), diff --git a/searchcore/src/tests/proton/documentdb/clusterstatehandler/clusterstatehandler_test.cpp b/searchcore/src/tests/proton/documentdb/clusterstatehandler/clusterstatehandler_test.cpp index 8d012afdb1f..881852eb7a3 100644 --- a/searchcore/src/tests/proton/documentdb/clusterstatehandler/clusterstatehandler_test.cpp +++ b/searchcore/src/tests/proton/documentdb/clusterstatehandler/clusterstatehandler_test.cpp @@ -43,7 +43,7 @@ struct Fixture test::GenericResultHandler _genericHandler; test::BucketIdListResultHandler _bucketListHandler; Fixture() - : _exec(1, 64000), + : _exec(1), _stateHandler(_exec), _changedHandler(), _genericHandler(), diff --git a/searchcore/src/tests/proton/documentdb/configurer/configurer_test.cpp b/searchcore/src/tests/proton/documentdb/configurer/configurer_test.cpp index 600e4981c0f..0bcbf1269a1 100644 --- a/searchcore/src/tests/proton/documentdb/configurer/configurer_test.cpp +++ b/searchcore/src/tests/proton/documentdb/configurer/configurer_test.cpp @@ -169,7 +169,7 @@ Fixture::Fixture() _queryLimiter(), _constantValueFactory(), _constantValueRepo(_constantValueFactory), - _summaryExecutor(8, 128_Ki), + _summaryExecutor(8), _pendingLidsForCommit(std::make_shared<PendingLidTracker>()), _sessionMgr(100), _views(), diff --git a/searchcore/src/tests/proton/documentdb/document_subdbs/document_subdbs_test.cpp b/searchcore/src/tests/proton/documentdb/document_subdbs/document_subdbs_test.cpp index ac2e9279227..13cc4030262 100644 --- a/searchcore/src/tests/proton/documentdb/document_subdbs/document_subdbs_test.cpp +++ b/searchcore/src/tests/proton/documentdb/document_subdbs/document_subdbs_test.cpp @@ -359,7 +359,7 @@ struct FixtureBase void init() { DocumentSubDbInitializer::SP task = _subDb.createInitializer(*_snapshot->_cfg, Traits::configSerial(), IndexConfig()); - vespalib::ThreadStackExecutor executor(1, 1_Mi); + vespalib::ThreadStackExecutor executor(1); initializer::TaskRunner taskRunner(executor); taskRunner.runTask(task); runInMasterAndSync([&]() { _subDb.initViews(*_snapshot->_cfg); }); diff --git a/searchcore/src/tests/proton/documentdb/documentbucketmover/documentbucketmover_test.cpp b/searchcore/src/tests/proton/documentdb/documentbucketmover/documentbucketmover_test.cpp index 44075de4179..f5a91e9838e 100644 --- a/searchcore/src/tests/proton/documentdb/documentbucketmover/documentbucketmover_test.cpp +++ b/searchcore/src/tests/proton/documentdb/documentbucketmover/documentbucketmover_test.cpp @@ -123,7 +123,7 @@ ControllerFixtureBase::ControllerFixtureBase(const BlockableMaintenanceJobConfig _bucketCreateNotifier(), _diskMemUsageNotifier(), _refCount(), - _singleExecutor(1, 0x10000), + _singleExecutor(1), _master(_singleExecutor), _bucketExecutor(4), _moveHandler(*_bucketDB, storeMoveDoneContexts), diff --git a/searchcore/src/tests/proton/documentdb/documentdb_test.cpp b/searchcore/src/tests/proton/documentdb/documentdb_test.cpp index cdf874a6601..47cbde152ef 100644 --- a/searchcore/src/tests/proton/documentdb/documentdb_test.cpp +++ b/searchcore/src/tests/proton/documentdb/documentdb_test.cpp @@ -128,7 +128,7 @@ Fixture::Fixture(bool file_config) : FixtureBase(file_config), _dummy(), _myDBOwner(), - _summaryExecutor(8, 128_Ki), + _summaryExecutor(8), _shared_service(_summaryExecutor, _summaryExecutor), _hwInfo(), _db(), @@ -155,7 +155,7 @@ Fixture::Fixture(bool file_config) _fileHeaderContext, std::make_shared<search::attribute::Interlock>(), make_config_store(), - std::make_shared<vespalib::ThreadStackExecutor>(16, 128_Ki), _hwInfo); + std::make_shared<vespalib::ThreadStackExecutor>(16), _hwInfo); _db->start(); _db->waitForOnlineState(); } diff --git a/searchcore/src/tests/proton/documentdb/job_tracked_maintenance_job/job_tracked_maintenance_job_test.cpp b/searchcore/src/tests/proton/documentdb/job_tracked_maintenance_job/job_tracked_maintenance_job_test.cpp index 0cf00a79650..3b08cac3049 100644 --- a/searchcore/src/tests/proton/documentdb/job_tracked_maintenance_job/job_tracked_maintenance_job_test.cpp +++ b/searchcore/src/tests/proton/documentdb/job_tracked_maintenance_job/job_tracked_maintenance_job_test.cpp @@ -70,7 +70,7 @@ struct Fixture _runRetval(false), _runGates(getGateVector(numRuns)), _runIdx(0), - _exec(1, 64000) + _exec(1) { } void runJob() { diff --git a/searchcore/src/tests/proton/documentdb/lid_space_compaction/lid_space_jobtest.cpp b/searchcore/src/tests/proton/documentdb/lid_space_compaction/lid_space_jobtest.cpp index b941161cc35..150cc7f2d95 100644 --- a/searchcore/src/tests/proton/documentdb/lid_space_compaction/lid_space_jobtest.cpp +++ b/searchcore/src/tests/proton/documentdb/lid_space_compaction/lid_space_jobtest.cpp @@ -53,7 +53,7 @@ JobTestBase::init(uint32_t allowedLidBloat, BlockableMaintenanceJobConfig blockableCfg(resourceLimitFactor, maxOutstandingMoveOps); _job.reset(); - _singleExecutor = std::make_unique<vespalib::ThreadStackExecutor>(1, 0x10000); + _singleExecutor = std::make_unique<vespalib::ThreadStackExecutor>(1); _master = std::make_unique<proton::SyncableExecutorThreadService> (*_singleExecutor); _bucketExecutor = std::make_unique<storage::spi::dummy::DummyBucketExecutor>(4); _job = lidspace::CompactionJob::create(compactCfg, RetainGuard(_refCount), _handler, _storer, *_master, *_bucketExecutor, diff --git a/searchcore/src/tests/proton/documentdb/maintenancecontroller/maintenancecontroller_test.cpp b/searchcore/src/tests/proton/documentdb/maintenancecontroller/maintenancecontroller_test.cpp index debad7eaf26..95f03558231 100644 --- a/searchcore/src/tests/proton/documentdb/maintenancecontroller/maintenancecontroller_test.cpp +++ b/searchcore/src/tests/proton/documentdb/maintenancecontroller/maintenancecontroller_test.cpp @@ -680,7 +680,7 @@ MyFeedHandler::appendOperation(const FeedOperation &op, DoneCallback) } MyExecutor::MyExecutor() - : vespalib::ThreadStackExecutorBase(128_Ki, -1, my_executor_init), + : vespalib::ThreadStackExecutorBase(-1, my_executor_init), _threadId() { start(1); |