-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Feature/observe backup and restore #1115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/observe backup and restore #1115
Conversation
This is awesome! Thanks @robertlyson |
…rch-net into feature/ObserveBackupAndRestore
Now I see where the problem is. In the integration test, I'm making restore request with index name replacement option, but I'm checking recovery status for original index name. I'll push this fix soon. |
…t parameters in the recovery status request
…valid restore and recovery status responses
Hi @robertlyson I see you amended the PR 👍 Please ping us when you are ready for us to review, can't wait to 🚢 🇮🇹 |
…hotobservable have been moved to responses directory
Hello @Mpdreamz, I think, more reliable tests is the last think to do for this feature. I'm still thinking about this, but good solution didn't pop up yet. From minor issues:
So I guess we can start review, let me know in case you will find some issues :) |
Hello, Finally, I've added several unit tests for this feature - it has been done by means of introduction of Humble Object. I think the PR can be reviewed right now, so feel free to put your comments :) |
Small nags,
other then that amazing work @robertlyson ! 👍 Love the unit tests and thank you for creating a proper integration test as well, made reviewing this so much easier. Really appreciated. |
Let's summarize what has been done so far:
ElasticClient.SnapshotObservable
uses under the hoodElasticClient.SnapshotStatus
ElasticClient.RestoreObservable
usesElasticClient.RecoveryStatus
One integration test has been written for this feature(
SnapshotRestoreObservable
), but it is failing so far. Seems to be that the problem is in theElasticClient.RecoveryStatus
, which returns recovery status as done all the time.Feel free to take over this issue - hope I'll find some time before next release to be able to close this topic together with you.