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
I have around 2000 DB schema files. But flyway lambda fails with error saying cannot find flyway.conf file. But when i reduce the file count to below 200 in the S3, it successfully deploys.
so what should we do if more files present. Any suggestions on running the scripts in batches
The text was updated successfully, but these errors were encountered:
I was able to resolve the above issue.
Limitation was with S3Client object, listObjects method will only first 1000 objects.
To fetch remaining object, listNextBatchOfObjects method need to be invoked till all objects are fetched based on the isTrucated method.
I modified the code which fetch objectsummary as below:
val objectSummaries = {
var objects = s3Client.listObjects(srcBucketName, srcPrefix)
val objectSummaryList = objects.getObjectSummaries()
I have around 2000 DB schema files. But flyway lambda fails with error saying cannot find flyway.conf file. But when i reduce the file count to below 200 in the S3, it successfully deploys.
so what should we do if more files present. Any suggestions on running the scripts in batches
The text was updated successfully, but these errors were encountered: