diff options
author | Costa Tsaousis <costa@netdata.cloud> | 2023-01-13 19:52:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-13 19:52:55 +0200 |
commit | 68658fc1e0a0902343bb165b7ed12b6fba1f2202 (patch) | |
tree | b4b15043880ca48d146f8d8c09a039db42d69d71 /database/engine/rrdengineapi.c | |
parent | 6f587f5aced38d7f55a95fe815bb59499552345d (diff) |
DBENGINE v2 - improvements 2 (#14257)
* allow extents to be merged for as long as possible
* do not block the event loop while recalculating retention due to datafile rotation
* buffers are incrementally cleaned up, every second, by just 1 entry
* fix order of commands
* remove newline
* measure cancelled extent read requests
* count all cancelled extent requests
* do not double count failed pages
* fixed cancelled name
* Fix error and warnings when compiling with --disable-dbengine
* when the timeframe is outside retention and whole query should fail
* do not mark as failed pages that have been loaded but have been skipped
* added chart to show cache memory calculation variables
* LONG_MAX for 32-bit compatibility
* fix cache size calculation on 32-bit
* fix cache size calculation on 32-bit - use unsinged long long
* fix compilation warnings on 32-bits
* fix another compilation warning on 32-bits
* fix compilation warnings on older 32-bit compilers
* fix compilation warnings on older 32-bit compilers - more of them
* disable ML threads joining
Co-authored-by: Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com>
Diffstat (limited to 'database/engine/rrdengineapi.c')
-rwxr-xr-x | database/engine/rrdengineapi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/database/engine/rrdengineapi.c b/database/engine/rrdengineapi.c index a98ec937e0..f0bc27a176 100755 --- a/database/engine/rrdengineapi.c +++ b/database/engine/rrdengineapi.c @@ -727,9 +727,8 @@ void rrdeng_load_metric_finalize(struct storage_engine_query_handle *rrddim_hand if (handle->page) pgc_page_release(main_cache, handle->page); - if(!pdc_release_and_destroy_if_unreferenced(handle->pdc, false, false)) { + if(!pdc_release_and_destroy_if_unreferenced(handle->pdc, false, false)) __atomic_store_n(&handle->pdc->workers_should_stop, true, __ATOMIC_RELAXED); - } unregister_query_handle(handle); rrdeng_query_handle_release(handle); |