Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-1061

DeleteTablet should asynchronously (or batch) delete blocks

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Won't Fix
    • Private Beta
    • None
    • tserver
    • None

    Description

      I ran a script to delete all the tables on the YCSB cluster (~50GB or so per host I think, so not even a huge amount). This ended up taking quite some time – the DeleteTablet RPC seems to synchronously try to delete all of the blocks, which can be quite slow (we do an fsync per block apparently, vs some kind of smarter batching). Seems like we should be able to do this all asynchronously.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment