leveled/test/end_to_end
Martin Sumner 3d3d284805
Mas p401 coverage (#404)
* refactor leveled_sst from gen_fsm to gen_statem

* format_status/2 takes State and State Data
but this function is deprecated... put in for backward compatibility

* refactor leveled_cdb from gen_fsm to gen_statem

* disable irrelevant warning ignorer

* Remove unnecessary code paths

Only support messages, especially info messages, where they are possible.

* Mas i1820 offlinedeserialisation cbo (#403)

* Log report GC Info by manifest level

* Hibernate on range query

If Block Index Cache is not full, and we're not yielding

* Spawn to deserialise blocks offline

Hypothesis is that the growth in the heap necessary due to continual term_to_binary calls to deserialise blocks is wasting memory - so do this memory-intensive task in a short-lived process.

* Start with hibernate_after option

* Always build BIC

Testing indicates that the BIC itself is not a primary memory issue - the primary issue is due to a lack of garbage collection and a growing heap.

This change enhances the patch to offline serialisation so that:
- get_sqn & get_kv are standardised to build the BIC, and hibernate when it is built.
- the offline PId is linked to crash this process on failure (as would happen now).

* Standardise spawning for check_block/3

Now deserialise in both parts of the code.

* Only spawn for check_block if cache not full

* Update following review

* Standardise formatting

Make test more reliable.  Show no new compaction after third compaction.

* Update comments

---------

Co-authored-by: Thomas Arts <thomas.arts@quviq.com>
2023-03-13 11:46:08 +00:00
..
appdefined_SUITE.erl Issue with tag order 2020-03-16 16:35:06 +00:00
basic_SUITE.erl Develop 3.1 d30update (#386) 2022-12-18 20:18:03 +00:00
iterator_SUITE.erl Push log update through to cdb/sst 2018-12-11 20:42:00 +00:00
perf_SUITE.erl Change refernces to loop state records 2021-01-11 10:39:34 +00:00
recovery_SUITE.erl Mas p401 coverage (#404) 2023-03-13 11:46:08 +00:00
riak_SUITE.erl Develop 3.1 d30update (#386) 2022-12-18 20:18:03 +00:00
testutil.erl Mas i389 rebuildledger (#390) 2023-01-18 11:45:10 +00:00
tictac_SUITE.erl Change to cast in inker/iclerk interaction 2019-01-24 21:32:54 +00:00