Uploaded image for project: 'ovsdb'
  1. ovsdb
  2. OVSDB-358

[SR3] RPC timeout in JsonRPCEndpoint is not configurable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • None
    • unspecified
    • Library
    • None
    • Operating System: All
      Platform: All

    • 6352
    • High

      The RPC timeout in JsonRPCEndpoint/getClient method is 300 ms:
      private static final int REAPER_INTERVAL = 300;

      This timeout is not configurable, and it can be quite aggressive for heavy-weight operations on OVSDB. This leads to the following exception:
      java.util.concurrent.CancellationException: Task was cancelled.

      One of the solutions would be to retry if the task was cancelled. However, for operations on OVSDB that genuinely take > 300 ms, this will not work – The task will be cancelled again.

            Unassigned Unassigned
            ashwinp.work@gmail.com Ashwin P
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: