Menu

#16 auto filenaming bug

input combiners
closed
nobody
filenaming (1)
2025-12-01
2023-10-26
No

Auto-renaming function uses system time up to seconds resolution as parts of the filename; when batch processing files this can lead to files being overwritten when rendered in the same second. Temporal granularity used for filenaming not adequate/high enough.

Discussion

  • Marlon Schumacher

    Suggestions:
    a) use a finer internal timer, e.g. (get-internal-real-time) or (get-internal-run-time)
    b) use a counter (e.g. when processing lists, use a counter to iterate and auto-name object-oriented)

     
  • Marlon Schumacher

    • status: open --> closed
     
  • Marlon Schumacher

    Fixed in 968eaa1. Now uses optional millisecond in filename + optional suffix.

     

Log in to post a comment.

MongoDB Logo MongoDB