Description
because currentWalPoolSize does not thread-safe, One thread modifies the value. Other threads cannot obtain the latest value immediately.
so ByteBuffer.allocateDirect over MAX_WAL_BYTEBUFFER_NUM
because currentWalPoolSize does not thread-safe, One thread modifies the value. Other threads cannot obtain the latest value immediately.
so ByteBuffer.allocateDirect over MAX_WAL_BYTEBUFFER_NUM