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

Datapublisher mark workunits committed when actually published #11

Open
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

kadaan
Copy link
Owner

@kadaan kadaan commented Jan 20, 2016

No description provided.

Joel Baranick added 17 commits December 23, 2015 11:26
Only run the commitaction when all the files for the workunit branch are moved successfully.
…o not set the state on a WorkUnit to COMMITTED until all branches are published.
Publishing now happens in two stages.  The first is to group all publish commands (source and destination path) by the source filesystem, source path root, destination filesystem, and destination path root.  Then we walk over the groups.  If the source and destination filesystems are equivalent and the filesystem supports atomically renaming a folder, we rename the source path root to the destination path root.  Otherwise, we run a move for each publish command.

NOTE: each publish command has an associated CommitAction which indicates the number of publishes which must succeed before the WorkUnitState is set to COMPLETE.
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.

1 participant