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

Custom operation timeout for sendWithRetry

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None

    Description

      Motivation

      Default operation timeout for sendWithRetry is 3000 ms and may be acceptable for such things as transactional requests. But for some other things, for example, DDL operations, it can be too small. When user creates a table, the least likely thing they expect is timeout exception after 3 sec. We should add argument with custom timeout for this operation.

      Definition of done

      sendWithRetry is able to be executed with custom timeout.

      Implementation notes

      In fact, we need raft commands to be executed with custom timeout, so an overloaded method should be added to RaftGroupService, and there is already sendWithRetry with custom timeout. 

      Also, the timeouts for meta storage operations can be custimized at once.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Denis Chudov Denis Chudov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: