Guosmilesmile commented on PR #11662:
URL: https://github.com/apache/iceberg/pull/11662#issuecomment-2507769750

   Hi @mxm! Thank you very much for your suggestions. Following your advice, I 
added a version number to SortKeySerializer through restoreSerializer, 
implementing different serialization methods for v1 and v2. Based on the 
performance in the test job, the TaskManager chieve state compatibility. 
However, the JobManager fails to recover due to the DataStatisticsCoordinator, 
which leads to a failure to start because the SortKeySerializer used in 
CompletedStatisticsSerializer and GlobalStatisticsSerializer is instantiated 
directly. This results in a failure when trying to parse the v1 state with the 
v2 version. Additionally, these two serializers do not change after the 
Coordinator is initialized. Given this scenario, do you have any good 
suggestions?


-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to