You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug, including details regarding any error messages, version, and platform.
While running cpp_test.sh we see arrow-flight-sql-odbc-test on MacOS failing with E0210 00:46:36.681501000 8701661376 call_op_set.h:985] assertion failed: false
I dug into the failing arrow-flight-sql-odbc-test run on ODBC ARM64 macOS 14.
From the log, the gRPC assert
call_op_set.h:985 assertion failed: false
happens between ConnectionInfoMockTest.TestSQLGetInfoConvertFloat and ConnectionInfoMockTest.TestSQLGetInfoConvertIntervalDayTime.
Each of these tests uses the FlightSQLODBCMockTestBase fixture, whose TearDown() calls Disconnect() and then server_->Shutdown() and server_->Wait() on SQLiteFlightSqlServer (see odbc_test_suite.cc).
So the assertion is triggered during server shutdown between tests, not in the
test bodies themselves. It looks like gRPC is seeing an invalid operation while
the Flight SQL server is being torn down.
I don't have a macOS ARM environment to debug inside gRPC itself; I can’t
reliably change the shutdown logic without reproducing the issue. Could someone
with macOS ARM + debugger take a look at the shutdown path for SQLiteFlightSqlServer in these tests?
Hi @shashbha14 , we were able to resolve this issue by reusing connections to reduce the number of new connections made on macOS, and keeping 1 mock server set up/shut down during the entire test execution flow. Previously, new connections were made during each test, and the mock server had set up / tear down during each test case, and we think this is what caused the too_many_operations error.
Activity
shashbha14 commentedon Feb 10, 2026
take
shashbha14 commentedon Feb 10, 2026
I dug into the failing
arrow-flight-sql-odbc-testrun on ODBC ARM64 macOS 14.From the log, the gRPC assert
call_op_set.h:985 assertion failed: falsehappens between
ConnectionInfoMockTest.TestSQLGetInfoConvertFloatandConnectionInfoMockTest.TestSQLGetInfoConvertIntervalDayTime.Each of these tests uses the
FlightSQLODBCMockTestBasefixture, whoseTearDown()callsDisconnect()and thenserver_->Shutdown()andserver_->Wait()onSQLiteFlightSqlServer(seeodbc_test_suite.cc).So the assertion is triggered during server shutdown between tests, not in the
test bodies themselves. It looks like gRPC is seeing an invalid operation while
the Flight SQL server is being torn down.
I don't have a macOS ARM environment to debug inside gRPC itself; I can’t
reliably change the shutdown logic without reproducing the issue. Could someone
with macOS ARM + debugger take a look at the shutdown path for
SQLiteFlightSqlServerin these tests?alinaliBQ commentedon Apr 20, 2026
Hi @shashbha14 , we were able to resolve this issue by reusing connections to reduce the number of new connections made on macOS, and keeping 1 mock server set up/shut down during the entire test execution flow. Previously, new connections were made during each test, and the mock server had set up / tear down during each test case, and we think this is what caused the
too_many_operationserror.thisisnic commentedon Nov 13, 2026
@alinaliBQ Do you know if this was resolved in #49267 and #49784, or if it's still an issue?
alinaliBQ commentedon Nov 13, 2026
Thanks for the ping. This issue is already resolved, I can close it.