Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
2.0.3
-
None
-
Centos 6.7
-
2017-27
Description
Hi,
I'm having an issue while starting maxscale when I set up avrorouter service :
error : Failed to initialize avrofile.
error : Fatal: MaxScale 2.0.3 received fatal signal 11. Attempting backtrace.
error : Commit ID: 9e27e6c002b297d6ddbdbdb34c3de849069a9d7c System name: Linux Release string: CentOS release 6.7 (Final)
error : /usr/bin/maxscale() [0x403b9c]
error : /lib64/libpthread.so.0(+0xf7e0) [0x7fbd6574a7e0]
error : /usr/lib64/maxscale/libavrorouter.so(maxavro_file_open+0x25f) [0x7fbd60304395]
error : /usr/lib64/maxscale/libavrorouter.so(avro_index_file+0x29) [0x7fbd602ce3c0]
error : /usr/lib64/maxscale/libavrorouter.so(avro_update_index+0x97) [0x7fbd602ce8e3]
error : /usr/lib64/maxscale/libavrorouter.so(avro_flush_all_tables+0x90) [0x7fbd602cdbbb]
error : /usr/lib64/maxscale/libavrorouter.so(avro_read_all_events+0xb06) [0x7fbd602cd63b]
error : /usr/lib64/maxscale/libavrorouter.so(converter_func+0x69) [0x7fbd602c4c00]
error : /usr/lib64/maxscale/libmaxscale-common.so.1.0.0(+0x3b8a2) [0x7fbd660558a2]
error : /lib64/libpthread.so.0(+0x7aa1) [0x7fbd65742aa1]
error : /lib64/libc.so.6(clone+0x6d) [0x7fbd642c8aad]
Context :
1) I setup a binlogrouter service and replicate binlogs from my master mariadb node, binlog started at index 32
2) I used cdc_schema.go to generate avro schema files (some create table statements where missing)
3) I setup avrorouter service and try to start but it fail
Here is my configuration :
- The Replication Proxy service
[replication-service]
type=service
router=binlogrouter
router_options=server_id=4000,master_id=3000,binlogdir=/var/lib/maxscale/binlog/,mariadb10-compatibility=1,
user=user
passwd=pass
- The Avro conversion service
[avro-service]
type=service
router=avrorouter
source=replication-service
router_options=binlogdir=/var/lib/maxscale/binlog/,avrodir=/var/lib/maxscale/avro/,filestem=mariadb-bin,start_index=32,