You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "lifepuzzlefun (via GitHub)" <gi...@apache.org> on 2023/05/11 15:53:28 UTC

[GitHub] [pulsar] lifepuzzlefun opened a new issue, #20307: PIP-270 Add config to set metadata size threshold for compression.

lifepuzzlefun opened a new issue, #20307:
URL: https://github.com/apache/pulsar/issues/20307

   # Background knowledge
   
   current we support to set compression on ManagedLedger and ManagedCursor metadata
   by `managedLedgerInfoCompressionType` and `managedCursorInfoCompressionType`
   
   # Motivation
   
   sometimes the metadata is too small to compress. so a size based config is needed.
   
   # Goals
   
   ## In Scope
   add config to set size threshold for compression on metadata.
   
   `managedLedgerInfoCompressionSizeThreshold`
   `managedCursorInfoCompressionSizeThreshold`
   
   default value is 0.
   so this won't change the behaviour if set `managedLedgerInfoCompressionType`
   
   if the setting is set, only compress the metadata if the persistent size if above the setting.
   
   
   # High Level Design
   add config in `ServerConfiguration`
   when init `ManagedLedgerConfig` the setting is passed.
   
   when persistent metadata the config will affect the compression logic.
   
   ### Configuration
   new configuration: 
   
   `managedLedgerInfoCompressionSizeThreshold`
   `managedCursorInfoCompressionSizeThreshold`
   
   # Backward & Forward Compatability
   
   ## Revert
   
   the compression logic is transparent. if remove the config nothing changed.
   
   
   
   # Links
   
   pr that introduce metadata compression: 
   https://github.com/apache/pulsar/pull/11490
   https://github.com/apache/pulsar/pull/14542
   


-- 
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.apache.org

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


[GitHub] [pulsar] github-actions[bot] commented on issue #20307: PIP-270 Add config to set metadata size threshold for compression.

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #20307:
URL: https://github.com/apache/pulsar/issues/20307#issuecomment-1612326291

   The issue had no activity for 30 days, mark with Stale label.


-- 
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] lifepuzzlefun closed issue #20307: PIP-270 Add config to set metadata size threshold for compression.

Posted by "lifepuzzlefun (via GitHub)" <gi...@apache.org>.
lifepuzzlefun closed issue #20307: PIP-270 Add config to set metadata size threshold for compression.
URL: https://github.com/apache/pulsar/issues/20307


-- 
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] lifepuzzlefun commented on issue #20307: PIP-270 Add config to set metadata size threshold for compression.

Posted by "lifepuzzlefun (via GitHub)" <gi...@apache.org>.
lifepuzzlefun commented on issue #20307:
URL: https://github.com/apache/pulsar/issues/20307#issuecomment-1722230360

   closed via https://github.com/apache/pulsar/pull/19561


-- 
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