Implement Savepoints and required metadata timeline (#86)
- Introduce avro to save clean metadata with details about the last commit that was retained - Save rollback metadata in the meta timeline - Create savepoint metadata and add API to createSavepoint, deleteSavepoint and rollbackToSavepoint - Savepointed commit should not be rolledback or cleaned or archived - introduce cli commands to show, create and rollback to savepoints - Write unit tests to test savepoints and rollbackToSavepoints
This commit is contained in:
20
pom.xml
20
pom.xml
@@ -252,11 +252,13 @@
|
||||
<exclude>**/.*</exclude>
|
||||
<exclude>**/*.txt</exclude>
|
||||
<exclude>**/*.sh</exclude>
|
||||
<exclude>**/*.log</exclude>
|
||||
<exclude>**/dependency-reduced-pom.xml</exclude>
|
||||
<exclude>**/test/resources/*.avro</exclude>
|
||||
<exclude>**/test/resources/*.data</exclude>
|
||||
<exclude>**/test/resources/*.schema</exclude>
|
||||
<exclude>**/test/resources/*.csv</exclude>
|
||||
<exclude>**/main/avro/*.avsc</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
<executions>
|
||||
@@ -268,6 +270,24 @@
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.avro</groupId>
|
||||
<artifactId>avro-maven-plugin</artifactId>
|
||||
<version>1.7.6</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>generate-sources</phase>
|
||||
<goals>
|
||||
<goal>schema</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<sourceDirectory>${project.basedir}/src/main/avro/</sourceDirectory>
|
||||
<outputDirectory>${project.build.directory}/generated-sources/src/main/java/</outputDirectory>
|
||||
<stringType>String</stringType>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
|
||||
Reference in New Issue
Block a user