mypipe icon indicating copy to clipboard operation
mypipe copied to clipboard

Found a Bug:values from one table are zipped with metadata from other tables.

Open bbnsumanth opened this issue 9 years ago • 7 comments

Found that,some times values from one table are zipped with metadata of other tables.I'm trying to figure out this .In case if you can suggest me some possible places to look for this bug,it will be very helpful.

bbnsumanth avatar Nov 29 '15 19:11 bbnsumanth

@bbnsumanth is there a specific revision that this started with? Can you give more information and an example?

Cheers (=

mardambey avatar Nov 29 '15 19:11 mardambey

I don't think it crept in from a particular revision. I'm going through mypipe code and struck with figuring out where is this method findTable(tableId: java.lang.Long) from trait BinaryLogConsumer implemented.I couldn't find its implementation.Sorry if I'm missing some thing.Can you help me?

bbnsumanth avatar Nov 29 '15 20:11 bbnsumanth

Can you provide a way to reproduce the bug?

mardambey avatar Nov 29 '15 20:11 mardambey

Sorry I have no clue to reproduce this.I found this when I'm reading messages from kafka.I'm pushing mutations of one table to one kafka topic with one partition.I found that some topics have messages with same table metadata but values of other tables.I'm guessing that this bug might have aroused when we are finding table obj using the method findTable(tableId) and table id we got from eventdata.

bbnsumanth avatar Nov 29 '15 20:11 bbnsumanth

Can you Help me in finding out the implementation for the method findTable(tableId: java.lang.Long) from trait BinaryLogConsumer

bbnsumanth avatar Nov 29 '15 20:11 bbnsumanth

@bbnsumanth any movement here? Can you reproduce? If you need help, let me know. Do you still need an answer for the above?

mardambey avatar Feb 07 '16 14:02 mardambey

I found the same problem. the error log: 18:25:17.551 [ForkJoinPool-3-worker-3] ERROR m.m.ConfigBasedErrorHandler - Could not handle 2714 mutation(s) from listener mypipe.pipe.Pipe$$anon$5@541e79ad 18:25:17.552 [ForkJoinPool-3-worker-3] ERROR m.m.MySQLBinaryLogConsumer - Consumer database-medusa failed to process event Some(XidEvent(453616)) from Event{header=EventHeaderV4{timestamp=1518053646000, eventType=XID, serverId=321184, headerLength=19, dataLength=8, nextPosition=1806837, flags=0}, data=XidEventData{xid=453616}} 18:25:17.552 [ForkJoinPool-3-worker-3] ERROR m.m.ConfigBasedErrorHandler - Could not handle event Some(XidEvent(453616)) from raw event Event{header=EventHeaderV4{timestamp=1518053646000, eventType=XID, serverId=321184, headerLength=19, dataLength=8, nextPosition=1806837, flags=0}, data=XidEventData{xid=453616}} 18:25:17.552 [ForkJoinPool-3-worker-3] INFO m.p.Pipe - Pipe kafka-specific-pipe disconnected! 18:25:18.545 [ForkJoinPool-3-worker-11] ERROR m.p.KafkaMutationSpecificAvroProducer - failed to queue: Not in union ["long","null"]: 0.37689903

the avro schema is ok.but the table is not the one that I have defined. even the table is not int ${include-event-condition}.

wild46cat avatar Jul 25 '18 02:07 wild46cat