Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
W wendelin.core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedi
  • wendelin.core
  • Merge requests
  • !19

Closed
Created Oct 13, 2023 by Levin Zimmermann@levin.zimmermannMaintainer
  • Report abuse
Report abuse

Allow explicitly overridding global ZBlk format for individual ZBigFile and ZBigArray

  • Overview 3
  • Commits 2
  • Changes 6

Hello Kirill,

the following patches allow setting the ZBlk format of individual ZBigFile and ZBigArray to a different value than the system-wide global value. This is useful in cases where we have an instance on which we do have some data which is better suited in a format different from most of the other data on this instance.

Regarding the implementation, it's a bit unfortunate that this patch needs to add "zblk_fmt" to ZBigFile's state and therefore making it less concise, but I wouldn't know how else we could make the user declared format persistent. I attempted to make this change backwards compatible e.g. to support ZBigFile states with two items or with three items in order to use an old DB with a newer version. I also added tests to ensure the changes are effective. Both make test.py and make test.go succeed on my instance.

Best, Levin

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: set-zblk
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7