OpenReplicator repeat connect binlog and shutsown
- Dominant language
- Java
- Stars
- 3.7k
- Forks
- 736
- PR merge metrics
- No merged PRs in 30d
Description
2020-05-27 10:36:17,414 +1222 [main] (INFO) {DatabusRelayMain} done initializing producers
2020-05-27 10:36:17,440 +1248 [main] (INFO) {ServerContainer} Saving port number in /opt/databus/relay/./containerPortNum_1944197119
2020-05-27 10:36:17,440 +1248 [main] (INFO) {ServerContainer} Serving container 1944197119 HTTP listener on port 11115
2020-05-27 10:36:17,440 +1248 [main] (INFO) {DatabusRelayMain} Starting. Producers are :{{"id":1,"name":"ruaho"}=com.linkedin.databus2.producers.OpenReplicatorEventProducer@4f83df68}
2020-05-27 10:36:17,441 +1249 [main] (INFO) {DatabusRelayMain} starting db puller: ruaho
2020-05-27 10:36:17,444 +1252 [main] (INFO) {DatabusRelayMain} db puller started: ruaho
2020-05-27 10:36:17,444 +1252 [main] (INFO) {ServerContainer} Databus service started!
2020-05-27 10:36:17,444 +1252 [main] (INFO) {ServerContainer} waiting for shutdown request for container id: 1944197119
2020-05-27 10:36:17,461 +1269 [OpenReplicator_ruaho] (INFO) {OpenReplicator_ruaho} Connecting to OpenReplicator root@172.16.0.87:3306/mysql-bin.000001#4
2020-05-27 10:36:20,710 +4518 [OpenReplicator_ruaho] (INFO) {ORListener_ruaho} Shutdown requested
2020-05-27 10:36:20,710 +4518 [OpenReplicator_ruaho] (INFO) {ORListener_ruaho} Waiting for shutdown uninteruptibly
2020-05-27 10:36:20,710 +4518 [OpenReplicator_ruaho] (INFO) {ORListener_ruaho} Waiting for shutdown
2020-05-27 10:36:20,807 +4615 [ORListener_ruaho] (INFO) {OpenReplicator_ruaho} ORListener Thread done
2020-05-27 10:36:20,808 +4616 [ORListener_ruaho] (INFO) {ORListener_ruaho} Signalling shutdown !!
2020-05-27 10:36:20,808 +4616 [OpenReplicator_ruaho] (INFO) {ORListener_ruaho} Shutdown: true
2020-05-27 10:36:20,808 +4616 [OpenReplicator_ruaho] (INFO) {ORListener_ruaho} Shutdown: true
2020-05-27 10:36:20,808 +4616 [OpenReplicator_ruaho] (INFO) {transactionWriter} Shutdown requested
2020-05-27 10:36:20,808 +4616 [OpenReplicator_ruaho] (INFO) {transactionWriter} Waiting for shutdown uninteruptibly
2020-05-27 10:36:20,808 +4616 [OpenReplicator_ruaho] (INFO) {transactionWriter} Waiting for shutdown
2020-05-27 10:36:20,866 +4674 [transactionWriter] (INFO) {TransactionWriter} transactionWriter thread done!
2020-05-27 10:36:20,866 +4674 [transactionWriter] (INFO) {transactionWriter} Signalling shutdown !!
2020-05-27 10:36:20,866 +4674 [OpenReplicator_ruaho] (INFO) {transactionWriter} Shutdown: true
2020-05-27 10:36:20,866 +4674 [OpenReplicator_ruaho] (INFO) {transactionWriter} Shutdown: true
2020-05-27 10:36:20,867 +4675 [OpenReplicator_ruaho] (INFO) {OpenReplicator_ruaho} Connecting to OpenReplicator root@172.16.0.87:3306/mysql-bin.000001#4
2020-05-27 10:36:20,919 +4727 [OpenReplicator_ruaho] (INFO) {OpenReplicator_ruaho} start Open Replicator successfully
2020-05-27 10:36:22,721 +6529 [OpenReplicator_ruaho] (INFO) {ORListener_ruaho} Shutdown requested
2020-05-27 10:36:22,721 +6529 [OpenReplicator_ruaho] (INFO) {ORListener_ruaho} Waiting for shutdown uninteruptibly
2020-05-27 10:36:22,721 +6529 [OpenReplicator_ruaho] (INFO) {ORListener_ruaho} Waiting for shutdown
2020-05-27 10:36:22,721 +6529 [ORListener_ruaho] (INFO) {OpenReplicator_ruaho} ORListener Thread done
2020-05-27 10:36:22,721 +6529 [ORListener_ruaho] (INFO) {ORListener_ruaho} Signalling shutdown !!
2020-05-27 10:36:22,721 +6529 [OpenReplicator_ruaho] (INFO) {ORListener_ruaho} Shutdown: true
2020-05-27 10:36:22,721 +6529 [OpenReplicator_ruaho] (INFO) {ORListener_ruaho} Shutdown: true
2020-05-27 10:36:22,721 +6529 [OpenReplicator_ruaho] (INFO) {transactionWriter} Shutdown requested
2020-05-27 10:36:22,721 +6529 [OpenReplicator_ruaho] (INFO) {transactionWriter} Waiting for shutdown uninteruptibly
2020-05-27 10:36:22,721 +6529 [OpenReplicator_ruaho] (INFO) {transactionWriter} Waiting for shutdown
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the OpenReplicator connection and shutdown sequence shown in the issue, focusing on why the first connection is followed by shutdown and a repeat connection. Reproduce the behavior with the logged MySQL binlog endpoint and compare the lifecycle logs; done means the relay remains running instead of shutting down unexpectedly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, mysql
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100