docs/design/map/01-per-entry-stats.md
| ℹ️ Since: 4.2 |
|---|
After implementing per config record creation, we managed to break tight coupling between features and record metadata. Based on this, now we have a chance to enable/disable record metadata to reduce memory usage of a record.
We categorize stats in two types: map-level and entry-level. Map level is enabled by default but entry-level is not.
Map-level stats are:
Entry-level stats are:
Map-level stats are created per map's partition. They are replicated to new nodes to be safe from partition ownership changes.
Entry-level stats are already replicated when enabled. No change is needed for them.