MySQL 8.0.39
Source Code Documentation
|
The SYNC state of the cache. More...
#include <fts0types.h>
Public Attributes | |
trx_t * | trx |
The transaction used for SYNCing the cache to disk. More... | |
dict_table_t * | table |
Table with FTS index(es) More... | |
ulint | max_cache_size |
Max size in bytes of the cache. More... | |
bool | cache_full |
flag, when true it indicates that we need to sync the cache to disk More... | |
ulint | lower_index |
the start index of the doc id vector from where to start adding documents to the FTS cache More... | |
ulint | upper_index |
max index of the doc id vector to add to the FTS cache More... | |
bool | interrupted |
true if SYNC was interrupted More... | |
doc_id_t | min_doc_id |
The smallest doc id added to the cache. More... | |
doc_id_t | max_doc_id |
The doc id at which the cache was noted as being full, we use this to set the upper_limit field. More... | |
std::chrono::steady_clock::time_point | start_time |
SYNC start time. More... | |
bool | in_progress |
flag whether sync is in progress. More... | |
bool | unlock_cache |
flag whether unlock cache when write fts node More... | |
os_event_t | event |
sync finish event More... | |
The SYNC state of the cache.
There is one instance of this struct associated with each ADD thread.
bool fts_sync_t::cache_full |
flag, when true it indicates that we need to sync the cache to disk
os_event_t fts_sync_t::event |
sync finish event
bool fts_sync_t::in_progress |
flag whether sync is in progress.
bool fts_sync_t::interrupted |
true if SYNC was interrupted
ulint fts_sync_t::lower_index |
the start index of the doc id vector from where to start adding documents to the FTS cache
ulint fts_sync_t::max_cache_size |
Max size in bytes of the cache.
doc_id_t fts_sync_t::max_doc_id |
The doc id at which the cache was noted as being full, we use this to set the upper_limit field.
doc_id_t fts_sync_t::min_doc_id |
The smallest doc id added to the cache.
It should equal to doc_ids[lower_index]
std::chrono::steady_clock::time_point fts_sync_t::start_time |
SYNC start time.
dict_table_t* fts_sync_t::table |
Table with FTS index(es)
trx_t* fts_sync_t::trx |
The transaction used for SYNCing the cache to disk.
bool fts_sync_t::unlock_cache |
flag whether unlock cache when write fts node
ulint fts_sync_t::upper_index |
max index of the doc id vector to add to the FTS cache