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

[C++][FlightRPC] DoPutLargeBatch test sometimes stuck for 10 seconds

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Bug
    • None
    • None
    • C++, FlightRPC
    • None

    Description

      Normally the test finishes in 100ms. But it often costs 10s on my test machine.
      Debug build is good.

      I did brief debug, looks it's related to https://github.com/apache/arrow/pull/12302.
      It stuck 10 seconds in destructing grpc::Server at code https://github.com/apache/arrow/blob/master/cpp/src/arrow/flight/server.cc#L863

      To reproduce:

      $ cmake -GNinja -DARROW_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DARROW_FLIGHT=ON ..
      
      $ ninja arrow-flight-test
      
      $ relwithdebinfo/arrow-flight-test --gtest_filter="*DoPutLargeBatch*"
      [==========] Running 1 test from 1 test suite.
      [----------] Global test environment set-up.
      [----------] 1 test from TestDoPut
      [ RUN      ] TestDoPut.DoPutLargeBatch
      [       OK ] TestDoPut.DoPutLargeBatch (10017 ms)
      [----------] 1 test from TestDoPut (10017 ms total)
      
      [----------] Global test environment tear-down
      [==========] 1 test from 1 test suite ran. (10017 ms total)
      [  PASSED  ] 1 test.
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            yibocai Yibo Cai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: