[MDEV-11388] AliSQL: [Feature] Issue#15 DDL FAST FAIL Created: 2016-11-29  Updated: 2017-03-22  Resolved: 2017-02-13

Status: Closed
Project: MariaDB Server
Component/s: OTHER
Fix Version/s: 10.3.0

Type: Task Priority: Major
Reporter: Sergey Vojtovich Assignee: Sergey Vojtovich
Resolution: Fixed Votes: 0
Labels: None

Epic Link: AliSQL patches

 Description   

Summary:
--------
The feature provides a way to set lock wait timeout for ddl statements.
 
Usage:
-----
alter table t [wait [n]|no_wait] add f int,
drop table [wait [n]|no_wait], etc.
 
no_wait: the query not wait for locks, return immediately, and print
"ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting transaction;"
 
wait [n]: n is the wait time in second, after wait n seconds for locks,
return and print errors;

https://github.com/alibaba/AliSQL/commit/958add0b101815d43dc19fca4e317d7049e6647e



 Comments   
Comment by Sergey Vojtovich [ 2017-02-08 ]

monty, please review patch for this task: http://lists.askmonty.org/pipermail/commits/2017-February/010642.html

plinux, FYI

Comment by Sergey Vojtovich [ 2017-02-13 ]

Patch is in bb-10.3-alisql, to be merged to 10.3 later.

Generated at Thu Feb 08 07:49:34 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.