Conversation
- 4 张高频写热表(t_flow_record/t_flow_todo_record/t_flow_todo_marge/t_flow_sub_process_record)主键改 SEQUENCE,解锁 Hibernate JDBC 批插,将批量创建 ~500 条串行 DB 往返降为约几十条批次往返 - 示例配置开启 hibernate.jdbc.batch_size=50 + order_inserts/order_updates - 低频流程设计表(t_flow_workflow/t_flow_workflow_version/t_flow_workflow_runtime 等)保持 IDENTITY 不动,避免触碰存量设计数据 - 新增 issue 210 复现测量测试 FlowIssue210SubProcessPerformanceTest - 运行机制受影响面为零:id>0 判定、setId(entity.getId())、同事务 fromId 引用、按 id 排序语义均不变 #210 Co-Authored-By: Claude <noreply@anthropic.com>
- FlowRecordSaveService.saveTodoMargeRecords 先批量加载已存在待办,替代循环内逐条 getByTodoKey(每 20 条待办 20 次 SELECT → 1 次 IN 查询) - 按 TODO_KEY_BATCH_SIZE=500 分块查询,避免海量 key 拼超大 IN 子句/结果集过大导致 OOM - FlowTodoRecordRepository 新增 findByKeys,实现于 mock/test/Infra 三层仓储 - 新增集成断言:批量场景逐条 getByTodoKey 调用数远小于待办数,且走批量 findByKeys - 全量 clean install BUILD SUCCESS,227 framework + example 真实 JPA 集成测试全绿 #210 Co-Authored-By: Claude <noreply@anthropic.com>
- 接口请求超时时间可通过 localStorage 动态配置,未配置时回退默认值 - 发布 @coding-flow/*@0.2.0,去除各调用点 10000ms 硬编码 Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.