Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-4625

[Flight] Wrap server busy-wait methods

    XMLWordPrintableJSON

    Details

      Description

      Right now in Java, you must manually busy-wait in a loop as the gRPC server's awaitTermination method isn't exposed. Conversely, in C+, you have no choice but to busy-wait as starting the server calls awaitTermination for you. Either Java should also wait on the server, or both Java and C+ should expose an explicit operation to wait on the server.

      I would prefer the latter as then the Python bindings could choose to manually busy-wait, which would let Ctrl-C work as normal.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lidavidm lidavidm
                Reporter:
                lidavidm lidavidm
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h