GitHub user jackylk opened a pull request:
https://github.com/apache/carbondata/pull/1573
[CARBONDATA-1815] Add AtomicRunnableCommand abstraction
Some CarbonData command need to process both metadata and data which should
be in an atomic fashion. These commands need to support undo if any failure. So
this PR adds AtomicRunnableCommand to enforce this behavior.
- [X] Any interfaces changed?
No
- [X] Any backward compatibility impacted?
No
- [X] Document update required?
No
- [X] Testing done
Retest all testcases
- [X] For large changes, please consider breaking it into sub-tasks under
an umbrella JIRA.
NA
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jackylk/incubator-carbondata undo
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/1573.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1573
----
commit c2e7843e65a4f68b8e6f657bf89d90ea7965438e
Author: Jacky Li <[email protected]>
Date: 2017-11-27T08:48:09Z
add AtomicRunnableCommand
commit b6939d0708ddbf65e7f4d29679dec4a5ee3b6bf4
Author: Jacky Li <[email protected]>
Date: 2017-11-27T08:57:56Z
fix comment
----
---