message: Do not try to commit empty array of entity records
diff: @@ -577,6 +577,7 @@ export class IncrementalIngestionDatabaseManager {
  .update('ingestion_mark_id', markId)
  .whereIn('ref', existingRefsArray);
  + if (newRefs.length > 0) {
  await tx('ingestion_mark_entities').insert(
  newRefs.map(ref => ({
  id: v4(),
  @@ -584,6 +585,7 @@ export class IncrementalIngestionDatabaseManager {
  ref,
  })),
  );
  + }
  });
  }
  