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 2022/07/05 13:37:16 UTC

[GitHub] [pulsar] Technoboy- opened a new pull request, #16403: [Branch-2.7][Cherry-pick] Do not move the non-durable cursor position when trimming ledgers while topic with compaction

Technoboy- opened a new pull request, #16403:
URL: https://github.com/apache/pulsar/pull/16403

   Cherry-pick #12602
   
   ### Motivation
   
   For the non-durable cursor, the ledgers trimming task will cause skip the removed ledgers
   to avoid readers introduced backlogs and make sure the data can be removed if over the retention,
   more details to see #6787.
   
   But for a topic that enabled compaction, this will lead to the reader skipping the compacted data.
   The newly added test can illustrate this problem well. For reading compacted data, reading a message ID
   that earlier that the first message ID of the original data is normal behavior, so we should not
   move forward the cursor which will read the compacted data.
   
   ### Documentation
   
   Check the box below and label this PR (if you have committer privilege).
   
   Need to update docs? 
   
   - [ ] `doc-required` 
     
     (If you need help on updating docs, create a doc issue)
     
   - [x] `no-need-doc` 
     
     (Please explain why)
     
   - [ ] `doc` 
     
     (If this PR contains doc changes)
   
   
   


-- 
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: commits-unsubscribe@pulsar.apache.org

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


[GitHub] [pulsar] Technoboy- merged pull request #16403: [Branch-2.7][Cherry-pick] Do not move the non-durable cursor position when trimming ledgers while topic with compaction

Posted by GitBox <gi...@apache.org>.
Technoboy- merged PR #16403:
URL: https://github.com/apache/pulsar/pull/16403


-- 
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: commits-unsubscribe@pulsar.apache.org

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