Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
8secz-johndpope opened this issue Jan 21, 2021 · 4 comments

Comments

@8secz-johndpope
Copy link

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

@besh-oy
Copy link

besh-oy commented May 14, 2021

+1

@8secz-johndpope
Copy link
Author

8secz-johndpope commented May 14, 2021

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

},
};

@andreximenes
Copy link

+1

1 similar comment
@IUGAI1398
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants