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
Copy file name to clipboardExpand all lines: api/src/org/labkey/api/migration/DefaultMigrationSchemaHandler.java
+8-3Lines changed: 8 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -306,15 +306,15 @@ public static void afterMigration() throws InterruptedException
306
306
if (unseen.isEmpty())
307
307
LOG.info("All AttachmentTypes have been seen");
308
308
else
309
-
thrownewConfigurationException("These AttachmentTypes have not been seen: " +unseen.stream().map(type -> type.getClass().getSimpleName()).collect(Collectors.joining(", ")));
309
+
LOG.error("These AttachmentTypes have not been seen: {}",unseen.stream().map(type -> type.getClass().getSimpleName()).collect(Collectors.joining(", ")));
310
310
311
311
// Shut down the attachment JobRunner
312
312
LOG.info("Waiting for attachments background transfer to complete");
313
313
ATTACHMENT_JOB_RUNNER.shutdown();
314
-
if (ATTACHMENT_JOB_RUNNER.awaitTermination(1, TimeUnit.HOURS))
314
+
if (ATTACHMENT_JOB_RUNNER.awaitTermination(2, TimeUnit.HOURS))
315
315
LOG.info("Attachments background transfer is complete");
316
316
else
317
-
LOG.error("Attachments background transfer did not complete after one hour! Giving up.");
317
+
LOG.error("Attachments background transfer did not complete after two hours! Giving up.");
318
318
}
319
319
320
320
@Override
@@ -332,4 +332,9 @@ public void afterSchema(DatabaseMigrationConfiguration configuration, DbSchema s
0 commit comments