sanpwc commented on code in PR #4049:
URL: https://github.com/apache/ignite-3/pull/4049#discussion_r1728616854
##########
modules/storage-page-memory/src/main/java/org/apache/ignite/internal/storage/pagememory/StoragePartitionMetaIo.java:
##########
@@ -50,6 +50,10 @@ public class StoragePartitionMetaIo extends PartitionMetaIo {
private static final int ESTIMATED_SIZE_OFF = LEASE_START_TIME_OFF +
Long.BYTES;
+ private static final int PRIMARY_REPLICA_NODE_ID_FIRST_PAGE_ID_OFF =
ESTIMATED_SIZE_OFF + Long.BYTES;
Review Comment:
> As I understand, ESTIMATED_SIZE_OFF is the total estimated size of the meta
Nope, estimateSize is an estimate records count in the storage in order to
evaluate select count(*) faster. Please check
https://issues.apache.org/jira/browse/IGNITE-22619 for more details.
##########
modules/storage-page-memory/src/main/java/org/apache/ignite/internal/storage/pagememory/StoragePartitionMetaIo.java:
##########
@@ -50,6 +50,10 @@ public class StoragePartitionMetaIo extends PartitionMetaIo {
private static final int ESTIMATED_SIZE_OFF = LEASE_START_TIME_OFF +
Long.BYTES;
+ private static final int PRIMARY_REPLICA_NODE_ID_FIRST_PAGE_ID_OFF =
ESTIMATED_SIZE_OFF + Long.BYTES;
Review Comment:
> As I understand, ESTIMATED_SIZE_OFF is the total estimated size of the meta
Nope, estimateSize is an estimate records count in the storage in order to
evaluate select count(*) faster. Please check
https://issues.apache.org/jira/browse/IGNITE-22619 for more details.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]