INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Repeated relational fields data loss  (Read 1864 times)

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854
Repeated relational fields data loss
« on: February 13, 2017, 02:13:34 am »

I noticed this morning that many of my relational data fields had lost their data.  This has happened many times since relational fields were added.  Fortunately, it only happened a few days ago so I was able to find the data fields relatively quickly in the backups and restore the field data.

But, as noted above, I've seen this happen many many times, and it's always a major frustration to have to go digging through archives for the data files.

I have no idea what is triggering this data loss, but am wondering whether the devs might add some form a debug warning to try and spot when MC is about to mass delete relational data, which might then help get to the root of the problem? 

Or maybe an optional pop up dialogue "Are you sure..." when a mass change is about to be triggered, so that even if the user wasn't aware it was about to happen they could at least be able to "abort" whatever is about to cause it.

Or something.



Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72439
  • Where did I put my teeth?
Re: Repeated relational fields data loss
« Reply #1 on: February 13, 2017, 06:12:09 am »

It could happen if you kill MC when it's saving data.

Antivirus is also a possibility.
Logged

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854
Re: Repeated relational fields data loss
« Reply #2 on: February 13, 2017, 06:47:02 am »

No antivirus in use.

However, I couldn't say 100% I didn't terminate.

This has happened many times over the years.  I wonder if there's a more robust way to protect the relational data from corruption.  One of the ways I use relational data is to flag Favourite Artists (relation on Artist).  My entire set of tags was wiped.  It's unlikely I'd even be unflagging one artist, let alone all, making the "termination during updating" feel unlikely.

Just bringing it up because it has happened too many times and always a major headache to fix after corruption.


Logged

mark_h

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1854
Re: Repeated relational fields data loss
« Reply #3 on: February 16, 2017, 02:19:22 am »

And I've just lost a whole bunch of relational fields again...

Something definitely awry here.

Only major things I did yesterday were update MC and run through a big conversion job testing Hendrik's recent changes.  Just repeated those again and they didn't delete the relational fields, so really out of ideas.

But I do feel that maybe a catch, or even just a log entry, in the code that spots when relational fields are about to be wiped would be useful to help track down the problem.


Logged
Pages: [1]   Go Up