You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have some scripts to deploy Sleeper to Docker with LocalStack, and create and run compactions in that local instance.
Since we added the compaction job dispatch lambda, the scripts to run compactions no longer work. There is no pending queue deployed, so CreateCompactionJobs fails to send batches to be processed by the dispatch lambda.
Steps to reproduce
Run scripts/deploy/localstack/startContainer.sh, follow the instructions in the output to point to LocalStack
Run scripts/deploy/localstack/deploy.sh <instance-id>
Run scripts/deploy/localstack/createCompactionJobs.sh <instance-id>
See error as pending compaction queue does not exist
Expected behaviour
Compaction jobs should be created correctly.
A compaction task should run the jobs when invoked with scripts/deploy/localstack/runCompactionTash.sh.
We could handle this by adding an instance/table property for CreateCompactionJobs to put jobs on the compaction queue directly, and enable this for all LocalStack deployments.
We could test this in a DSL-based test with LocalStackDslTest.
We can also remove the note from the documentation that was added in the following issue:
Description
We have some scripts to deploy Sleeper to Docker with LocalStack, and create and run compactions in that local instance.
Since we added the compaction job dispatch lambda, the scripts to run compactions no longer work. There is no pending queue deployed, so CreateCompactionJobs fails to send batches to be processed by the dispatch lambda.
Steps to reproduce
scripts/deploy/localstack/startContainer.sh
, follow the instructions in the output to point to LocalStackscripts/deploy/localstack/deploy.sh <instance-id>
scripts/deploy/localstack/createCompactionJobs.sh <instance-id>
Expected behaviour
Compaction jobs should be created correctly.
A compaction task should run the jobs when invoked with
scripts/deploy/localstack/runCompactionTash.sh
.We could handle this by adding an instance/table property for CreateCompactionJobs to put jobs on the compaction queue directly, and enable this for all LocalStack deployments.
We could test this in a DSL-based test with LocalStackDslTest.
We can also remove the note from the documentation that was added in the following issue:
The text was updated successfully, but these errors were encountered: