leo-007 发表于 2023-8-18 10:52:24

work快照提示commit error

管理员大大

请问work快照时候,对快照前的work大小有限制吗?我们对一个work进行快照时提示如下:


{
    "readyState": 4,
    "responseText": "{\n\"type\": \"error\",\n\"message\": \"java.lang.Exception: commit error\",\n\"date\": \"2023-08-18 10:50:16\",\n\"spent\": 2054,\n\"size\": -1,\n\"count\": 0,\n\"position\": 0\n}",
    "responseJSON": {
      "type": "error",
      "message": "java.lang.Exception: commit error",
      "date": "2023-08-18 10:50:16",
      "spent": 2054,
      "size": -1,
      "count": 0,
      "position": 0
    },
    "status": 500,
    "statusText": "error"
}


服务器日志定位在:
Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: Data truncation: Data too long for column 'xproperties' at row 1 {prepstmnt 648139000 INSERT INTO PP_C_SNAP (xid, xcreateTime, xsequence, xupdateTime, xdistributeFactor, xactivity, xactivityAlias, xactivityDescription, xactivityName, xactivityToken, xactivityType, xapplication, xapplicationAlias, xapplicationName, xcreatorIdentity, xcreatorPerson, xcreatorUnit, xjob, xperson, xprocess, xprocessAlias, xprocessName, xproperties, xstartTime, xtitle, xtype) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)}


这个work的this.data大小:78K

论坛管理员 发表于 2023-8-18 17:45:53

是不是有附件?附件太大了吧

leo-007 发表于 2023-8-19 13:40:41

一共有四个附件:

661K+19.16M+3.24M


附件也是存在快照里面吗?

论坛管理员 发表于 2023-8-21 09:45:27

是的,附件也会转快照,这个在8.1新版本里已经优化,附件不再快照
预计8.1在下周8月底发布

leo-007 发表于 2023-8-21 12:54:40

论坛管理员 发表于 2023-8-21 09:45
是的,附件也会转快照,这个在8.1新版本里已经优化,附件不再快照
预计8.1在下周8月底发布 ...

好的,期待下一个版本更新

论坛管理员 发表于 2023-8-21 16:39:43

:handshake
页: [1]
查看完整版本: work快照提示commit error