gitmodimo opened a new issue, #47124:
URL: https://github.com/apache/arrow/issues/47124

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   I encountered the problem in acero pipeline first, however i narrowed it 
down to DatasetWriter getting stuck in pause while concurrent calls to 
WriteRecordBatch are executed.
   
   The locked state is due to 
rows_in_flight_throttle.backpressure_.current_value  becomes huge 
value(unsigned negative). 
   
   <img width="1551" height="820" alt="Image" 
src="https://github.com/user-attachments/assets/631cbc1d-0ba2-4000-aa1e-5263819cf3f1";
 />
   
   This is caused by `Release` being called while current_value_==0
   
   I created [testcase 
](https://github.com/apache/arrow/commit/d0cb912264ac10dfae2fe6f3472ff05841819499)that
 reproduces the problem fairly often.
   
   
   
   
   ### Component(s)
   
   C++


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to