scylladb / scylla-migrator

Migrate data extract using Spark to Scylla, normally from Cassandra
Apache License 2.0
54 stars 34 forks source link

add Waiter for checking if table is ready #142

Closed tarzanek closed 1 week ago

tarzanek commented 1 month ago

Target table not ready yet. Waiting 1 second.

in https://github.com/scylladb/scylla-migrator/pull/141/files/e7e7f4eff9999f35cebb047789537e1df65421a0#diff-11993c65c362dc321c50c2c397371e56ad8174905095754dfc8c979fbf7342d6

as per @julienrf If we upgrade the AWS SDK to the v2 we can use the new Waiter abstraction.

tarzanek commented 1 month ago

ref https://github.com/scylladb/scylla-migrator/pull/141

tarzanek commented 1 month ago

dtto in same file re while for

 s"Stream not yet enabled (status ${streamStatus}); waiting for 5 seconds and retrying")
        Thread.sleep(5000)