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

[C++][FlightRPC] Add FlightClient::Close

    XMLWordPrintableJSON

Details

    Description

      We should add an explicit Close() method to Flight clients. For backwards compatibility, the client destructor should call Close().

      For gRPC, we do not have an explicit Close() method provided by gRPC, so it will just be a no-op (or perhaps explicitly drop the reference to the underlying gRPC client). When ARROW-15473 is implemented, Close() could cancel all calls and drop the reference.

      For UCX, we will need an explicit Close() to clean up resources (and return error codes), so this will be useful then.

      Attachments

        Issue Links

          Activity

            People

              lidavidm David Li
              lidavidm David Li
              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 - 2h 10m
                  2h 10m