41
dbinoj
7y

So I've been exporting a JSON dump of ~120GB for hours and when trying to processing it, and write it to a new file, I wrote to the same file. FML. Hours of export became 0 bytes in no time. Think its time to get some sleep.

Comments
  • 1
    Good night.
  • 7
    A long time ago (1980s) in a faraway place (England) I worked with an Operating System called VMS.

    Every time you wrote to a file it gave it a new version number the file becoming the name plus a semicolon then the version. When using a file, if you didn't specify the version it automatically used the latest version.

    Periodically you would purge the excess versions, keeping the last so many you wanted, e.g.

    Purge/keep=3

    Or (abbreviated):

    pu/k=3

    Needless to say, your unfortunate tale wouldn't have happened in the Old Days, and shouldn't happen now if we just learned the lessons of the past.

    Yes, I am a grumpy old-timer.
  • 0
    @Wildgoose must be an entire OS written for a specific usecase then?
  • 0
    @ThatDude yep. 😔
Add Comment