简体   繁体   English

Kusto 控制命令事务

[英]Kusto control commands transaction

Is it possible to run Kusto control commands to create/alter multiple Kusto functions in a transaction?是否可以运行 Kusto 控制命令来创建/更改事务中的多个 Kusto 函数? I want to make sure that a set of functions that I create/update all succeed or none at all.我想确保我创建/更新的一组函数全部成功或根本没有。

No, there's no way to execute several such control commands in a transactional way.不,没有办法以事务方式执行几个这样的控制命令。 You can check out .execute database script which allows you to run several control commands in single command (and potentially abort on first failure), but it's not transactional - functions that were updated before failure will not be rolled back.您可以查看.execute database script ,它允许您在单个命令中运行多个控制命令(并可能在第一次失败时中止),但它不是事务性的 - 在失败之前更新的函数不会回滚。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM