Reindex metrics MBean

The reindex metrics describe the current state and history of reindexing tasks. Requesting a core reindex with dsetool reload_core (DSE 6.8 | 6.7 | 6.0 | 5.1) or using a CQL REBUILD SEARCH INDEX command (CQL 6.8 | 6.7 | 6.0 | 5.1) will no longer build up a queue of reindexing tasks on a node. Instead, a reindexing task is started that handles all reindex requests already submitted to that node.

Reindex metrics MBean is registered for each core with metricType=ReindexMetrics.

Path

The reindexing MBean is identified by the following path:

com.datastax.bdp.search.keyspace_name.table_name.ReindexMetrics

where:

  • search is the MBean type

  • keyspace_name.table_name is the search index (core) that the metrics reference

  • ReindexMetrics is the MBean name

Operations

Metric name Allowed values Description

Progress Percentage

0-100

Percent progress, where a value of 100 indicates that reindexing is not running.

Reindexing

True/False

Indicates if a search core is being reindexed.

Current reindexing reason

NONE, BOOTSTRAP, NEW_SSTABLES, USER_REQUEST

Reason for current reindexing.

Reindexing Pending

True/False

Indicates if a user-requested reindex is awaiting execution.

Reindex ETA

ETA in milliseconds

Total Requests Submitted

Number of reindex requests submitted since node start-up; includes all reindex types.

Total User Requests Submitted

Number of reindex requests submitted by user since node start-up.

Total Reindexings Run

Total number of reindexing tasks executed since startup.

Reindexings Run Due To User Request

Total number of reindexing tasks executed on behalf of a user since startup.

Reindexings Run With Index Delete

Number of reindexing tasks executed with deleteAll==true since startup.

Reindexing Time

Timer for reindexing; uses ExponentiallyDecayingReservoir for histogram.

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com