You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/04/20 23:06:06 UTC
[GitHub] merlimat opened a new pull request #1628: Reverting change in
ManagedCursorImpl introduced in #1519 since it causes regression
merlimat opened a new pull request #1628: Reverting change in ManagedCursorImpl introduced in #1519 since it causes regression
URL: https://github.com/apache/incubator-pulsar/pull/1628
Revert "Fix for cursorPersistenceAsyncMarkDeleteSameThread (#1544)"
This reverts commit ede7ffe540b4ea8c715c3af9f30f739ea133da94.
Revert "Fixed flaky test in managed ledger close path (#1539)"
This reverts commit b22769bb57defe435cc4faedcbebe1d3260cdee4.
Revert "Avoid contention in ManagedCursorImpl generated by locking on pendingMarkDeleteOps (#1519)"
This reverts commit ed8d1a5d39b5bde796954e79feda579dc7f64c2f.
### Motivation
A regression was introduced in #1519 and #1544 combined that was causing the `pendingMarkDeleteQueue` to grow to a huge size under certain conditions.
Draining the queue to a local array list was causing allocation of enourmous array size that were filling up the JVM heap.
### Modifications
Reverted to original state, will investigate further on how to remove mutex in a safer way.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services