summaryrefslogtreecommitdiffstats
path: root/database/engine/rrdengine.h
diff options
context:
space:
mode:
authorStelios Fragkakis <52996999+stelfrag@users.noreply.github.com>2022-12-02 16:12:05 +0200
committerGitHub <noreply@github.com>2022-12-02 16:12:05 +0200
commit3fc34a5e32fc16c7c832a0caefddf913c4e56eac (patch)
tree4a73e0bdfd09fbdbc5372c242cf262a6e837284e /database/engine/rrdengine.h
parentf4076eb37a271af03669b806531ba33d3a11cd12 (diff)
Fix 1.37 crashes (#14081)
* Wait for pending read to complete before destroying the page * fix page alignment crash * Compare copy of descriptor * prevent workers crashes by disabling cancellability on critical areas and separate sqlite3 statistics to its own worker job * do not update sqlite3 stats when they are slow * do not query sqlite3 statistics when they are slow * flipped condition * sqlite3 proper timeout calculation Co-authored-by: Costa Tsaousis <costa@netdata.cloud>
Diffstat (limited to 'database/engine/rrdengine.h')
-rw-r--r--database/engine/rrdengine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/database/engine/rrdengine.h b/database/engine/rrdengine.h
index fedadbe861..aca8184380 100644
--- a/database/engine/rrdengine.h
+++ b/database/engine/rrdengine.h
@@ -117,6 +117,7 @@ struct extent_io_descriptor {
unsigned descr_count;
int release_descr;
struct rrdeng_page_descr *descr_array[MAX_PAGES_PER_EXTENT];
+ struct rrdeng_page_descr descr_read_array[MAX_PAGES_PER_EXTENT];
Word_t descr_commit_idx_array[MAX_PAGES_PER_EXTENT];
struct extent_io_descriptor *next; /* multiple requests to be served by the same cached extent */
};