XMLWordPrintable

Details

    • Sub-Task
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Done
    • None
    • 6.1.1
    • None
    • None
    • 2021-4, 2021-5, 2021-6, 2021-8, 2021-9, 2021-10, 2021-11, 2021-12, 2021-13

    Description

      To proper restore individual extent we have to calculate HWM from the segment file.
      At the current version, segment file has a field `blockCount` which specifies an amount of preallocated blocks inside segment file, but HWM specifies the the last filled block - 1. So based on block count, we can make a binary search for range (0, blockCount) and find the first block with the empty value. Since those file are compressed we have to use header ptrs part.
      Note: The HWM is important part, adding this will solve the problem `cpiinfo` as well, the bulk is using `batch` insertion, so it aligns rows to block size (even if we insert 1 row it will increment HWM by one).

      Attachments

        Issue Links

          Activity

            People

              denis0x0D Denis Khalikov
              denis0x0D Denis Khalikov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.