[
https://issues.apache.org/jira/browse/IGNITE-12352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Saikat Maitra updated IGNITE-12352:
-----------------------------------
Description:
Currently it's possible to provide timeout only on query level. It would be
very useful to have default timeout value provided on cache startup. Let's add
{{CacheConfiguration#defaultQueryTimeout}} configuration property.
It is related to https://issues.apache.org/jira/browse/IGNITE-7285
* Please update {{SqlFieldsQuery}} and {{QueryOptions}} classes in .NET
accordingly - set {{Timeout}} to {{TimeSpan.FromMilliseconds(-1)}} by default
* Full test coverage for those additions is necessary on the .NET part
* Ignite C++ should be updated as well. I suppose that we should update
{{query_sql.h}} and {{query_sql_fields.h}}, and pass -1 there as the timeout.
was:
Currently it's possible to provide timeout only on query level. It would be
very useful to have default timeout value provided on cache startup. Let's add
{{CacheConfiguration#defaultQueryTimeout}} configuration property.
It is related to https://issues.apache.org/jira/browse/IGNITE-7285
> .NET: Add default query timeout
> -------------------------------
>
> Key: IGNITE-12352
> URL: https://issues.apache.org/jira/browse/IGNITE-12352
> Project: Ignite
> Issue Type: Improvement
> Components: platforms
> Affects Versions: 2.3
> Reporter: Saikat Maitra
> Priority: Minor
> Labels: .NET
>
> Currently it's possible to provide timeout only on query level. It would be
> very useful to have default timeout value provided on cache startup. Let's
> add {{CacheConfiguration#defaultQueryTimeout}} configuration property.
>
> It is related to https://issues.apache.org/jira/browse/IGNITE-7285
>
> * Please update {{SqlFieldsQuery}} and {{QueryOptions}} classes in .NET
> accordingly - set {{Timeout}} to {{TimeSpan.FromMilliseconds(-1)}} by default
> * Full test coverage for those additions is necessary on the .NET part
> * Ignite C++ should be updated as well. I suppose that we should update
> {{query_sql.h}} and {{query_sql_fields.h}}, and pass -1 there as the timeout.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)