Skip to content

OAK-9924: elastic mbean reports both primary and store size#693

Merged
fabriziofortino merged 2 commits intoapache:trunkfrom
fabriziofortino:OAK-9944
Sep 9, 2022
Merged

OAK-9924: elastic mbean reports both primary and store size#693
fabriziofortino merged 2 commits intoapache:trunkfrom
fabriziofortino:OAK-9944

Conversation

@fabriziofortino
Copy link
Contributor

The Elastic MBean indexSize returned the total store size (which includes replicas). This was a bit confusing since, depending on the replica factor, this value could be way bigger than the sole primary shards' size.

indexSize now returns the primary shards' size, and a new column indexSizeWithReplicas returns the total size including replicas. Also aligned metrics to rerun both values.

@nit0906 nit0906 self-requested a review September 8, 2022 08:54
@fabriziofortino fabriziofortino changed the title OAK-9944: elastic mbean reports both primary and store size OAK-9924: elastic mbean reports both primary and store size Sep 9, 2022
@fabriziofortino fabriziofortino merged commit 2457ffc into apache:trunk Sep 9, 2022
@fabriziofortino fabriziofortino deleted the OAK-9944 branch September 9, 2022 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants