[ 
https://issues.apache.org/jira/browse/RATIS-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16599200#comment-16599200
 ] 

ASF GitHub Bot commented on RATIS-272:
--------------------------------------

Github user joshelser commented on the issue:

    https://github.com/apache/incubator-ratis/pull/4
  
    > Q: May be I missed that, but I did not find truncate log method. The only 
way to say to Log Service that we do need anymore records with ID <= X.
    
    Nope, you're right. The API only lets you archive (or delete) an entire 
LogStream. I think this flows a bit more naturally with what we're doing inside 
of HBase already. We _could_ support intra-LogStream truncation and archival, 
but I think that would complicate things quite a lot.


> Design ideal API
> ----------------
>
>                 Key: RATIS-272
>                 URL: https://issues.apache.org/jira/browse/RATIS-272
>             Project: Ratis
>          Issue Type: Sub-task
>          Components: LogService
>            Reporter: Josh Elser
>            Priority: Major
>
> With influence from Apache DistributedLog, Kafka, and BookKeeper, design an 
> API that balances the ideal notion of what a distribute log system should 
> look like, but also considers the needs of HBase to replace a WAL.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to