Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-12352

.NET: Add default query timeout

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.3
    • None
    • platforms
    • Docs Required, Release Notes Required

    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. 

      Attachments

        Activity

          People

            Unassigned Unassigned
            samaitra Saikat Maitra
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: