[MCOL-3975] Refactor timeout processing for shutdown and PUT config operations. Created: 2020-05-01  Updated: 2023-10-26  Resolved: 2023-10-26

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

Type: Task Priority: Major
Reporter: Roman Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None


 Description   

PUT /node/shutdown and PUT /node/config have a timeout parameter that allows to gracefully wait for timeout seconds before actual shutdown happens to allow mutating DML or bulk insertion operations to converge.
As of now OSOperations.apply() just sleeps for timeout seconds before it executes operations. This is an inappropriate approach to be replaced with more dynamic one, e.g. Agent sets cluster to read-only and continiously asks DMLProc, DDLProc (at the main node) and WriteEngine (at all nodes) if there are any operations on the fly before it proceeds with shutdown.


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