You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2020/06/12 05:14:17 UTC

[GitHub] [bookkeeper] sijie opened a new issue #2358: Add a command to list the ledgers are still alive in entry log file

sijie opened a new issue #2358:
URL: https://github.com/apache/bookkeeper/issues/2358


   *Motivation*
   
   For troubleshooting bookkeeper disk usage issues, having a tool to list the ledgers that are still alive in the entry log file is super useful.


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

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



[GitHub] [bookkeeper] sijie commented on issue #2358: Add a command to list the ledgers are still alive in entry log file

Posted by GitBox <gi...@apache.org>.
sijie commented on issue #2358:
URL: https://github.com/apache/bookkeeper/issues/2358#issuecomment-654073656


   Your understanding is correct.


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

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



[GitHub] [bookkeeper] rudy2steiner commented on issue #2358: Add a command to list the ledgers are still alive in entry log file

Posted by GitBox <gi...@apache.org>.
rudy2steiner commented on issue #2358:
URL: https://github.com/apache/bookkeeper/issues/2358#issuecomment-654118701


   ok, thanks for your confirmation


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

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



[GitHub] [bookkeeper] sijie closed issue #2358: Add a command to list the ledgers are still alive in entry log file

Posted by GitBox <gi...@apache.org>.
sijie closed issue #2358:
URL: https://github.com/apache/bookkeeper/issues/2358


   


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

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



[GitHub] [bookkeeper] rudy2steiner commented on issue #2358: Add a command to list the ledgers are still alive in entry log file

Posted by GitBox <gi...@apache.org>.
rudy2steiner commented on issue #2358:
URL: https://github.com/apache/bookkeeper/issues/2358#issuecomment-653998728


   I notice there is a piece of code(BookieShell.printEntryLogMetadata): using a specific entry log file id to read the entry log file meta(EntryLogMetadata) which contains all ledger id, is that meet your requirement but without checking the ledger is active or not?
   
   
   


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

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



[GitHub] [bookkeeper] rudy2steiner commented on issue #2358: Add a command to list the ledgers are still alive in entry log file

Posted by GitBox <gi...@apache.org>.
rudy2steiner commented on issue #2358:
URL: https://github.com/apache/bookkeeper/issues/2358#issuecomment-653836082


   do you mean to dump CompactableLedgerStorage.getActiveLedgersInRange,is that right?


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

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



[GitHub] [bookkeeper] sijie commented on issue #2358: Add a command to list the ledgers are still alive in entry log file

Posted by GitBox <gi...@apache.org>.
sijie commented on issue #2358:
URL: https://github.com/apache/bookkeeper/issues/2358#issuecomment-686923393


   This is fixed by #2369 


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

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



[GitHub] [bookkeeper] rudy2steiner edited a comment on issue #2358: Add a command to list the ledgers are still alive in entry log file

Posted by GitBox <gi...@apache.org>.
rudy2steiner edited a comment on issue #2358:
URL: https://github.com/apache/bookkeeper/issues/2358#issuecomment-653836082


   do you mean to dump CompactableLedgerStorage.getActiveLedgersInRange from 0 to Long.MAX,is that right? @sijie 


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

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



[GitHub] [bookkeeper] sijie commented on issue #2358: Add a command to list the ledgers are still alive in entry log file

Posted by GitBox <gi...@apache.org>.
sijie commented on issue #2358:
URL: https://github.com/apache/bookkeeper/issues/2358#issuecomment-653921321


   @rudy2steiner My requirement is simple - the command will list all the ledgers of an entry log file are still "active" (exists in metadata storage) 


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

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



[GitHub] [bookkeeper] rudy2steiner edited a comment on issue #2358: Add a command to list the ledgers are still alive in entry log file

Posted by GitBox <gi...@apache.org>.
rudy2steiner edited a comment on issue #2358:
URL: https://github.com/apache/bookkeeper/issues/2358#issuecomment-645376892


   I'd like to try it, please assign to me !


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

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



[GitHub] [bookkeeper] eolivelli commented on issue #2358: Add a command to list the ledgers are still alive in entry log file

Posted by GitBox <gi...@apache.org>.
eolivelli commented on issue #2358:
URL: https://github.com/apache/bookkeeper/issues/2358#issuecomment-645448199


   Just start working and send the PR.
   Actually we cannot assign the issue to you


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

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



[GitHub] [bookkeeper] rudy2steiner edited a comment on issue #2358: Add a command to list the ledgers are still alive in entry log file

Posted by GitBox <gi...@apache.org>.
rudy2steiner edited a comment on issue #2358:
URL: https://github.com/apache/bookkeeper/issues/2358#issuecomment-646432076


   Would you mind explaining in what case , how to use the command and what the input and output you expect, I'm interested to handle this issue @sijie or any body can help me 


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

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



[GitHub] [bookkeeper] rudy2steiner edited a comment on issue #2358: Add a command to list the ledgers are still alive in entry log file

Posted by GitBox <gi...@apache.org>.
rudy2steiner edited a comment on issue #2358:
URL: https://github.com/apache/bookkeeper/issues/2358#issuecomment-653998728


   @sijie I notice there is a piece of code(BookieShell.printEntryLogMetadata): using a specific entry log file id to read the entry log file meta(EntryLogMetadata) which contains all ledger id, is that meet your requirement but without checking the ledger is active or not?
   
   
   


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

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



[GitHub] [bookkeeper] rudy2steiner commented on issue #2358: Add a command to list the ledgers are still alive in entry log file

Posted by GitBox <gi...@apache.org>.
rudy2steiner commented on issue #2358:
URL: https://github.com/apache/bookkeeper/issues/2358#issuecomment-645376892


   I'd like to try it, please assign it to me !


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

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



[GitHub] [bookkeeper] rudy2steiner edited a comment on issue #2358: Add a command to list the ledgers are still alive in entry log file

Posted by GitBox <gi...@apache.org>.
rudy2steiner edited a comment on issue #2358:
URL: https://github.com/apache/bookkeeper/issues/2358#issuecomment-653836082


   do you mean to dump CompactableLedgerStorage.getActiveLedgersInRange,is that right? @sijie 


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

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



[GitHub] [bookkeeper] rudy2steiner commented on issue #2358: Add a command to list the ledgers are still alive in entry log file

Posted by GitBox <gi...@apache.org>.
rudy2steiner commented on issue #2358:
URL: https://github.com/apache/bookkeeper/issues/2358#issuecomment-646432076


   Would you mind explaining in what case , how to use the command and what the input and output you expect, I'm interested to handle this issue @sijie 


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

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