zhangyue19921010 opened a new pull request, #11310:
URL: https://github.com/apache/paimon/pull/11310

   ### Purpose
   
   Fixes #11309.
   
   When a concurrent schema writer wins publication of the next schema file, 
filesystem `mergeSchema` returns false even though the requested new column was 
not added. Callers interpret false as a no-op and may continue without 
refreshing their table schema.
   
   Report the failed publication as an exception so the caller can retry the 
operation with fresh schema state. Successful merges and actual no-ops retain 
their existing return values.
   
   ### Tests
   
   Added a deterministic conflict regression through 
`FileStoreTable.store().mergeSchema`, plus successful-merge and no-op controls. 
On unchanged production code, the conflict regression fails because no 
exception is raised; the control passes.
   
   Validated `SchemaManagerTest`, `SchemaMergingUtilsTest` and 
`GeneratedPartitionColumnTest` (100 tests), then reran both merge regressions 
after refining the error message. Regular Maven checks enabled; JDK 11.
   


-- 
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]

Reply via email to