Improving the stability of the library as well as functionality by allowing replacement of data.
Sometimes the databases that we work on, are being changed, even though that the library has the ability to clean data before performing a restore (remove_on_startup field) some other asynchronous processes can write data into the collection, which will result in a conflict error.
in order to resolve conflicts:
we need an upsert mechanism to replace existing documents with certain filters.
Improving the stability of the library as well as functionality by allowing replacement of data. Sometimes the databases that we work on, are being changed, even though that the library has the ability to clean data before performing a restore (
remove_on_startup
field) some other asynchronous processes can write data into the collection, which will result in a conflict error.in order to resolve conflicts:
exclude collections by name or regex:
filter document to write into the target connector