Skip to content
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

Changes to DBus and engine APIs for idempotence #1651

Merged
merged 1 commit into from
Oct 10, 2019

Conversation

jbaublitz
Copy link
Member

Supersedes #1614
Relates to stratis-storage/project#51

Make internal changes to the engine to better support idempotent operations using the DBus API so that the return value of DBus methods provides information on what was changed and omits resources that were not changed.

@mulkieran
Copy link
Member

It looks like Travis is having trouble, I restarted some tasks.

@jbaublitz
Copy link
Member Author

I was just about to comment on that. It's associated with the previous PR still. It's pulling from the wrong refs. Trying to figure out how to kick off a new build. I think I have to change the commit hash somehow.

@mulkieran
Copy link
Member

That same problem happened to me just once w/ pyudev.

@jbaublitz
Copy link
Member Author

New CI job kicked off. We should be okay now.

Copy link
Member

@mulkieran mulkieran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops! I noticed that we also failed to update Filesystem SetName and blockdev SetUserInfo signature in _data.py.

tests/client-dbus/src/stratisd_client_dbus/_data.py Outdated Show resolved Hide resolved
Make internal changes to the engine to support
idempotent operations over the DBus API so that the return
value of DBus methods returns identifiers for resources with state
changes and omits resource identifiers where the resources were
not changed.

Co-Authored-By: mulhern <[email protected]>
@jbaublitz
Copy link
Member Author

@mulkieran I think I got them all.

@mulkieran
Copy link
Member

Ok, re-approved.

@mulkieran mulkieran merged commit 2b15e11 into stratis-storage:master Oct 10, 2019
@jbaublitz jbaublitz deleted the issue-project-51 branch April 8, 2020 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants