mysql-events icon indicating copy to clipboard operation
mysql-events copied to clipboard

MySQLEvents.EVENTS.ZONGJI_ERROR: 2021-01-21T05:39:59.450Z RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 63089. Received 63096

Open 8secz-johndpope opened this issue 4 years ago • 4 comments

we turned on aws / rds proxy - now we get this error....

8secz-johndpope avatar Jan 21 '21 05:01 8secz-johndpope

+1

besh-oy avatar May 14 '21 11:05 besh-oy

we had to skip up / passed this / fast forward when starting we used a drop function by timestamp.

const insertTrigger = { name: "Monitor database instance", expression: dbFilterExpression, statement: MySQLEvents.STATEMENTS.INSERT, onEvent: async (event) => { // You will receive the events here // console.log(event); // console.log(event.affectedRows);

let row = event.affectedRows[0];
let xid = row.after.id;
let timestamp = event.timestamp;
if (timestamp >= lastTimeStamp) {
  let table = event.table;
  let data = { event: event, xid: xid };
 do stuff....

}, };

8secz-johndpope avatar May 14 '21 12:05 8secz-johndpope

+1

andreximenes avatar Feb 08 '23 10:02 andreximenes

+1

IUGAI1398 avatar Feb 06 '24 06:02 IUGAI1398