Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • S slapos.core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 38
    • Merge requests 38
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • slapos.core
  • Merge requests
  • !105

Remove old slapproxy tables when migrating to new version

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Jérome Perrin requested to merge jerome/slapos.core:fix/slapproxy-remove-old-tables into master Mar 19, 2019
  • Overview 24
  • Commits 5
  • Pipelines 0
  • Changes 8

Some tools are using directly slapproxy sqlite database and they stopped working when table number was increased in https://lab.nexedi.com/nexedi/slapos.core/merge_requests/76 .

We made a quick improvement to the tools so that they can autodetect the current table names instead of hardcoding ( https://lab.nexedi.com/nexedi/slapos/commit/b8c895cdd4be17510e6ebd3f14340ad96c1d0afe ) but this failed, because slapproxy remove did not remove the old tables after migration. This branch is about removing the table, to quickly repair these tools.

The long term plan is (hopefully) to improve these tools so that they don't use the private tables like this.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix/slapproxy-remove-old-tables
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7