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