Uploaded image for project: 'DistributedLog'
  1. DistributedLog
  2. DL-194

I want to truncate the log until "Transaction ID" (not DLSN). How can I do ?

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 0.6.0
    • None
    • None

    Description

      Now , I want to truncate the log until "Transaction ID" (not DLSN),
      I find that :

      ```java
      DLSN truncateDLSN = ...;
      Future<DLSN> truncateFuture = writer.truncate(truncateDLSN);
      // wait for truncation result
      Await.result(truncateFuture);
      ```

      http://distributedlog.incubator.apache.org/docs/latest/user_guide/api/core.html#asynclogwriter

      So,ow can I do ?

      Attachments

        Activity

          People

            Unassigned Unassigned
            xiaohaoliang xiaohao liang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: