AAS数据库上的Process Recalc始终生成409(冲突)异常 [英] Process Recalc on AAS Database always produces a 409 (Conflict) Exception

查看:134
本文介绍了AAS数据库上的Process Recalc始终生成409(冲突)异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们一直在使用Azure Logic App和POST方法在AAS模型中发布我们的表的完整流程而没有问题,在完成表处理之后我们想在AAS数据库上运行recalc,因为我们只处理模型中表格的
子集。在过去的10天内,数据库上的重计数据已停止工作,现在无论何时运行都会返回409冲突异常。我们已经验证模型没有进行其他处理,除非它是
也指的是针对它运行的查询。


以下是我们在Logic App POST方法: 


https://westus.asazure.windows.net/servers/ouraasservername/models/ouraasmodelname/refreshes


这是POST的主体:


{

$
  "对象":[



    {

$
      "数据库":" ouraasdatabasename"



    }


  ],


  "type":"计算"



}


AD OAuth,租户,受众群体的所有其他设置,客户端ID和机密与我们用于每天工作正常的表处理的内容相同。


仅此数据库级别进程无效。我已经在BODY命令中尝试了各种不同的设置,但是我没有任何运气让它起作用,我也没有在网上找到任何有帮助的东西。


谢谢,


Steve



解决方案

< blockquote>

Steve,


注意:模型一次只接受一次刷新操作。


如果当前正在运行刷新操作而另一个提交,则返回409 Conflict HTTP状态代码。


更多详情,请参阅"使用REST API刷新 - POST /刷新"。


希望这有帮助。< /跨度>

We have been using an Azure Logic App and the POST method to issue full processes of our tables in the AAS model without issue and after it completes the table processing we want to run a recalc on the AAS database since we are only processing a subset of the tables in the model. Within the last 10 days the recalc on the database has stopped working and is now always returning a 409 conflict exception no matter when it is run. We have verified that no other processing is going on with the model, unless it is also referring to queries running against it.

Below is the URL that we are using in the Logic App POST method: 

https://westus.asazure.windows.net/servers/ouraasservername/models/ouraasmodelname/refreshes

And this is the body of the POST:

{

  "objects": [

    {

      "database": "ouraasdatabasename"

    }

  ],

  "type": "calculate"

}

All of the other settings for AD OAuth, tenant, Audience, Client ID and secret are the same as what we are using for the table processing that is working fine every day.

Only this database level process is not working. I have tried various different settings in the BODY command, but I have not had any luck getting it to work and I have not found anything online that has helped either.

Thanks,

Steve

解决方案

Hi Steve,

Note: Only one refresh operation is accepted at a time for a model.

If there's a current running refresh operation and another is submitted, the 409 Conflict HTTP status code is returned.

For more details, refer "Refresh with REST API – POST /refreshes".

Hope this helps.


这篇关于AAS数据库上的Process Recalc始终生成409(冲突)异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆