[MCOL-1594] mxs_adapter requires -t to gracefully exit Created: 2018-07-25  Updated: 2023-10-26  Resolved: 2018-09-10

Status: Closed
Project: MariaDB ColumnStore
Component/s: None
Affects Version/s: None
Fix Version/s: 1.1.6

Type: Bug Priority: Major
Reporter: markus makela Assignee: Elena Kotsinova (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates MCOL-1438 Breaking the mxs_adapter with CTRL-C ... Closed
duplicates MCOL-1464 CDC adapter: mxs_adapter can't be sh... Closed
Sprint: 2018-15, 2018-16, 2018-17

 Description   

The default timeout is used to stop the adapter. This should not be the case and the process should be interrupted.

Steps to Reproduce

  1. Start the adapter without the -t option
  2. Stop the adapter with Ctrl+C

If the adapter stops, the bug is fixed.



 Comments   
Comment by markus makela [ 2018-07-26 ]

This was actually fixed by commit bae5387dccf4a0f1d2d364b20a758efcefa6722c.

The exit behavior can be improved as with this commit, the worst-case stopping time is equal to the timeout used with the adapter. This is mainly a problem with the MaxScale CDC Connector and its lack of finer-grained timeouts.

Generated at Thu Feb 08 02:29:55 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.