summaryrefslogtreecommitdiffstats
path: root/database/engine/rrdengine.h
diff options
context:
space:
mode:
authorMarkos Fountoulakis <44345837+mfundul@users.noreply.github.com>2019-10-07 11:08:21 +0300
committerGitHub <noreply@github.com>2019-10-07 11:08:21 +0300
commit852c97d412080205a7880d2cda2561c8fa40b203 (patch)
tree158dc0b05b0e2c2ef083e3a6f804ea8962414635 /database/engine/rrdengine.h
parentddaef9edba00faa83654f1dc8b696a1647b32229 (diff)
Remove hard cap from page cache size to eliminate deadlocks. (#7006)
* Remove page cache error detection and deadlock resolution * Change page cache logic to disallow deadlocks due to too many API users * Updated documentation * Changed default and minimum page cache size values to 32 and 8 MiB respectively
Diffstat (limited to 'database/engine/rrdengine.h')
-rw-r--r--database/engine/rrdengine.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/database/engine/rrdengine.h b/database/engine/rrdengine.h
index 6447a685bd..6f6a6f8ffd 100644
--- a/database/engine/rrdengine.h
+++ b/database/engine/rrdengine.h
@@ -148,25 +148,12 @@ struct rrdengine_statistics {
rrdeng_stats_t page_cache_descriptors;
rrdeng_stats_t io_errors;
rrdeng_stats_t fs_errors;
- rrdeng_stats_t pg_cache_warnings;
- rrdeng_stats_t pg_cache_errors;
};
/* I/O errors global counter */
extern rrdeng_stats_t global_io_errors;
/* File-System errors global counter */
extern rrdeng_stats_t global_fs_errors;
-/*
- * Page cache warnings global counter.
- * Some page cache instance is near critical utilization where metrics will fail to be stored.
- */
-extern rrdeng_stats_t global_pg_cache_warnings;
-/*
- * Page cache errors global counter.
- * Some page cache instance has hit critical utilization where metrics failed to be stored as a deadlock resolution
- * measure.
- */
-extern rrdeng_stats_t global_pg_cache_errors;
/* number of File-Descriptors that have been reserved by dbengine */
extern rrdeng_stats_t rrdeng_reserved_file_descriptors;