Thanks to visit codestin.com
Credit goes to github.com

Skip to content

arangodump views: add inBackground to prevent arangorestore from locking collectionsΒ #21953

@matcho

Description

@matcho

Hello,

This is a feature request/suggestion.

When dumping views using arangodump --dump-views, output JSON files do not contain "inbackground": true in links elements.
Using arangorestore on those views thus locks collections, possibly for a very long time depending on the collections sizes.

While this is expected due to the documented volatile nature of inbackground setting, this proves detrimental when using arangodump/arangorestore tools to copy views to a production setup, and forces to copy-paste views definitions in aardvark or arangosh one by one, manually adding "inbackground": true, to prevent this drawback.

Could arangodump have an option (preferably enabled by default) to add "inbackground": true to links elements when exporting views?
Alternatively, arangorestore might have an option (preferably enabled by default) to automatically set "inbackground": true before creating restored views.

Thank you for considering this,
Best regards,

Mathias

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions