This is an automated email from the ASF dual-hosted git repository.

jackietien pushed a change to branch MemoryNPE
in repository https://gitbox.apache.org/repos/asf/iotdb.git


      at 7194e73c47d Fix race condition in SharedTsBlockQueue async listener 
causing NPE in MemoryPool.free() When SharedTsBlockQueue.add() encounters 
memory pressure, it registers an async listener on a MemoryReservationFuture to 
add the TsBlock later. If the upstream FragmentInstance finishes and calls 
abort()/close() before the listener executes, the following race occurs: 1. 
abort() sets closed=true, clears the queue, frees bufferRetainedSizeInBytes 2. 
deRegisterFragmentInstanceFromMe [...]

This branch includes the following new commits:

     new 7194e73c47d Fix race condition in SharedTsBlockQueue async listener 
causing NPE in MemoryPool.free() When SharedTsBlockQueue.add() encounters 
memory pressure, it registers an async listener on a MemoryReservationFuture to 
add the TsBlock later. If the upstream FragmentInstance finishes and calls 
abort()/close() before the listener executes, the following race occurs: 1. 
abort() sets closed=true, clears the queue, frees bufferRetainedSizeInBytes 2. 
deRegisterFragmentInstanceFromMe [...]

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Reply via email to