titan-data / titan-server

Titan server to support local docker development
Apache License 2.0
5 stars 3 forks source link

refactor operations to isolate context-specific data sync #91

Closed eschrock closed 4 years ago

eschrock commented 4 years ago

Proposed Changes

This change refactors the operation executor to separate out the data sync portion and push that into the context provider. All the volumes are activated by the time that method is called, so the DockerZfs provider simply calls the sync volume method with the local path. In k8s, we'll launch a separate pod with PVCs for each of those volumes.

Testing

gradle build test inegrationTest endtoendTest, including Kubernetes tests.