When IngestionFailureInfo.ShouldRetry is true

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-25 08:32:26

问题


I'm implementing retry for failed ingest operation on ADX, my question is in the title.

On the side note, I saw some differences between IngestionStatus (getting ingest status via table) and IngestionFailureInfo (getting ingest status via queue)

  • IngestionStatus have Status.PartiallySucceeded, while IngestionFailureInfo have no way to tell whether an ingest operation is partially succeeded or not.
  • Can Status.PartiallySucceeded occur when ingesting from stream ? How can I know if an ingest operation is PartiallySucceeded using IngestionFailureInfo ?

回答1:


First note that the report to table and queue is done per blob and therefore there is no partial success for a single blob. If a report method of kind Table was used and the ingest is done from a DataReader the call to GetIngestionStatusBySourceId will aggregate the results of the DataReader ingest and therefore can get a PartiallySucceeded value. So for your question you can't get a PartiallySucceeded value when ingesting from a stream IngestionFailureInfo is configured only for failed operations. In anyway IKustoIngestionResult methods are only relevant for checking a status in an Azure Table, for Queue report method see https://docs.microsoft.com/en-us/azure/kusto/api/netfx/kusto-ingest-client-reference#interface-ikustoqueuedingestclient



来源:https://stackoverflow.com/questions/58518725/when-ingestionfailureinfo-shouldretry-is-true

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!