Berkof opened a new pull request #9392: URL: https://github.com/apache/ignite/pull/9392
Add new IgniteGlobalStatisticsManager to gather global statistics from the local ones. They choose some statistics master node for each table and request it when they need global statistics (collect by request only). Global statistics will be cached until its configuration changed. Statistics master node in its turn will send requests to get appropriate (fresh config enough with specified topology version) local statistics from each node and aggregate it to the global one. Then it'll respond to each global statistics request. If topology change occurs during global statistics aggregation - all progress should be dropped and aggregation should be restarted automatically. To support such a mechanism two additional messages were introduced: StatisticsRequest and StatisticsResponse. To track which global statistics are available on a particular node StatisticsGlobalData view was added (like StatisticsLocalData, but contains global characteristics of the tables). IgniteTableImpl now relies on global statistics instead of local ones so most tests were switched from local to global statistics checks. Anyway - global statistics require a local one. -- 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]
