alexey-bass commented on PR #13276:
URL: https://github.com/apache/seatunnel/pull/13276#issuecomment-7085847710

   Thanks. A note on each point, for the head `ee3eb16`:
   
   1. Oversized job name: accepted behaviour in this PR. The comment on 
`MAX_JOB_NAME_BYTES` says the limit only decides which decoder runs and that a 
longer name is read by the full deserialization, cached and returned. Bounding 
what the endpoint returns changes its output, so I would do it as a follow-up.
   2. Failed full deserialization: it was not logged. Fixed in `ee3eb16`: the 
fallback now logs a WARN with the job id, `data.totalSize()` and the exception. 
The null result is still not cached, so the line repeats on every summary 
request for that job; the negative cache is left for a follow-up.
   3. Decoder Javadoc: `decodeJobBasicInfoFromPrefix` has `@param`, `@return` 
and `@throws` since `9a501b4`.
   4. `shouldDecodeLegacyJobImmutableInformationInFastPath` calls 
`decodeJobBasicInfoFromPrefix` directly since `9a501b4`, so the fallback cannot 
make it pass.
   5. Regression fixture: the padding is 9 MiB since `9a501b4`. It sits in the 
job config, which `JobImmutableInformation#writeData` serializes twice (inside 
the logical DAG and on its own), so the data is about 18 MiB. Serializing it 
once would mean changing the production class, so I left it as is.
   6. `NodeExtension` is imported since `9a501b4`.
   
   `JobInfoServiceNullSafetyTest` passes locally (11 tests), spotless check 
passes. The fork Build for the new head is running: 
https://github.com/alexey-bass/seatunnel/actions/runs/45070563301
   


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