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

              lidavidm David Li
              lidavidm David Li
              Votes:
              0 Vote for this issue
              Watchers:
              4 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