Jump to content

Files showing up empty after upgrade


Aaron K

Recommended Posts

We just upgraded out Plastic from a 5.0 release to the latest 5.4.16.707. Everything seemed to work but when we synced our entire repository today to do a build we got errors. Looking into it one of our files in plastic had no content. Looking at the history, the checkins are all there but the final checkin when diffed with previous shows the entire content was deleted - which is wasn't because the existing files on our dev machines have content.

 

The 'Items' view shows the item to have 9.35k of data.

 

How can we get this file back and fix our database/plastic. We are obviously concerned that this will be a problem for other files in our repository.

 

Thanks

Aaron

 

Link to comment
Share on other sites

Hi Manu, no errors at all. Plastic looks like it's working except when we pull our source code from the repository some of the files are now empty. We have found 23 files like this so far. 

 

The history shows all the changelists are there, but if you diff the most recent change list with the previous one then it shows like the most recent one deleted all the content.

 

One of the things that we did when we upgraded was migrate the database to a new machine. This adds the possibility that something has gone wrong there. Is there a way to check the database to see what content is actually file for a checkin? That way we can determine if the data is even there.

Link to comment
Share on other sites

Hi Aaron!

 

I think you contacted Carlos with the resolution, right? Let me explain here what was happening.

 

For some reason, or a bug in Plastic 3.0/5.0 (much likely 3.0) you had some revisions without data, it was not really a problem for Plastic 3 and 5 since empty revisions were finding their data by going to their parent revision data packet.

 

We removed that behavior in plastic 5.4 since it could be hiding potential bugs and empty revisions now are downloaded empty.

 

You managed to restore all of them, kudos!! Really impressive. But if anyone faces this issue please write us to support we'll fix it.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...