提交货源图片和相似ASIN优化

This commit is contained in:
super
2026-05-24 21:59:21 +08:00
parent 532438faba
commit 7503e3fa8b
14 changed files with 1265 additions and 163 deletions

View File

@@ -71,6 +71,17 @@ public class SimilarAsinProperties {
*/
private boolean cozeUseLegacyItemFieldOrder = false;
/**
* 是否启用 P0-3 merge 增量缓冲:每个 batch DONE 时仅缓冲 cozeRows
* 不立即合并到 chunkfinalize 前一次性按 chunkScopeHash 分组合并,
* 把 OSS chunk 读写从 1000+ 次降到 chunk 数量级。
* 仅作用于"正常 poll DONE"路径;失败 batch / 单 batch 任务 / 其他
* 11 个 mergeCozeRowsIntoChunk 调用点保留原立即 merge 行为。
* 出现问题时可通过 AIIMAGE_SIMILAR_ASIN_COZE_RESULT_BUFFER_ENABLED=false
* 一键回滚到老路径。
*/
private boolean cozeResultBufferEnabled = true;
@Data
public static class CozeCredential {
private String name;