Tags:
create new tag
, view all tags
On occasion, TWiki loses a revision.

I have a vague recollection of already having reported this problem, but I've done a fair amount of searching today (on Codev, Support, and Wikilearn), and can't find it. Among other things, I'm hoping that (re)writing this report will spark my memory and help me think of a keyword that will let me find the original report.

Example, and most recent occurrence:

  • Sometime after that (last night) Rahul Sundaram modified the page, adding the question "how do you prevent someone from messing this up really bad?", thus creating rev. 1.2)

  • This morning (at home, a few hours ago) I modified the page in several ways (including changing Rahul's question to a link). I didn't notice while at home, but I now notice (at school) that the page has all of Rahul's and my revisions but is at rev. 1.2 (not 1.3), and both Rahul's and my revisions are attributed to me in the RCS record for rev 1.2.

When I get home, I'll see what other information I might collect from my still open browser, including Rahul's last and correct name.I added Rahul's last name, but I could glean no additional information from my browser — but it's a mute point, as Peter has provided the (an) explanation for the problem.

Any idea what the problem is. Does it have something to do with twiki.org running out of space (on Sourceforge)?

-- RandyKramer - 21 Nov 2003

Doing some more searching, I find these pages that seem related (so far, haven't found my previous report):

Hmm, I wonder if I recorded it on my (offline) Wikilearn.askSam for Linux — I'll have to check when I get home. Nope, not there either.

-- RandyKramer - 21 Nov 2003

I've changed this to BugReport - perhaps we need a new category for suspected bugs.

-- MartinCleaver - 21 Nov 2003

No new category, but a sub-class. It a bug report with a sub-class of "unconfirmed" .

-- MattWilkie - 23 Nov 2003

There could be an issue with TWiki and/or RCS when the disk is full on the volume where the temp area of RCS is located. This happens on occation here on SF, one of the load-balanced web servers has a full disk (where the temp area is), even though there is plenty space left on the storage server.

When this happens TWiki saves the topic correctly, but the revision is not bumped up. The next time you save you will bump up one revision containing two contributions.

-- PeterThoeny - 23 Nov 2003

Would it be possible to write something in the WarningLog in this event?

-- MartinCleaver - 23 Nov 2003

Peter,

Thanks for the information! Aside: I've reworded some of the above report as, on rereading it today, I recognize that it was a little misleading. I should have said (and it does if you read it now) that, instead of there being no trace of Rahul's revision, his revised text is present but there is no record of his revision in the RCS record — his changes and mine are all incorporated in (a new) rev. 1.2 (as your (Peter's) explanation would suggest).

As Martin mentions, some sort of warning would be helpful, somewhere. Is there any way to warn the person editing the page that (on the save), the temp disk was full and there will be no (RCS) record of his revision?

PS: One more (minor) point, I'm not sure whether the lack of space problem occurred when Rahul saved his changes or when I saved mine. Ideally, I was hoping that Rahul would be warned, but if the problem did not occur until I made my changes, the warning would have to be to me. I guess the reason for mentioning this is trying to think about the appropriate corrective action. I guess we can consider that when (if) there is a warning mechanism in place.

-- RandyKramer - 23 Nov 2003

In this case, if Peter is right about the cause (and I can't think what else it could be), then it is when Rahul made his save that the problem would have occured. Otherwise there would have been a record of his change in RCS. I would have expected him to have received an error screen, although it is always possible that there's a class of error that the TWiki wrapper around RCS is missing.

-- JohnTalintyre - 24 Nov 2003

I wanted to pump this issue because is happening at work. Those pages that are at revision 1.1 remain at that forever (no history is saved). Those with relocking ,v files with revisions greater than 1.2 are working fine. This is a showstopper for us as we use twiki to track our projects. I managed to calm down the people saying that perhaps it was an issue with the RCS implementation on windows... but I migrate our instalation to Linux (Mandrake 9.2) and is still happening frown

The I checked on a twiki instalation I have at sourceforge, and the same thing is happening.

If you want to see the problem, check these pages:

http://jphost.sourceforge.net/cgi-bin/view/Main/JHost (this is on revision 1.1)

http://jphost.sourceforge.net/cgi-bin/view/Main/WebHome (this is on revision 1.24)

user: TWikiTest pass: twikitest

On the first link, the revision don't get incremented, in the second one it do.

its a personal project, so play with the site to your heart content.

Sourceforge version is December2003, at office I have the latest beta.

Ahh!. BTW, my Twiki.cfg file has $editLockTime = "300", and there is enough room in the disk (15gigs left). I thought that perhaps was a problem with the "release lock" check, but it's not the case.

Help?

-- RafaelAlvarez - 10 Aug 2004

After further research I found that it must be a problem with the locking mechanism. I changed the Twiki.cfg property $doKeepRevIfEditLock (around line 399 in the latest beta) from "1" to "0", and the problem disappeared.

-- RafaelAlvarez - 10 Aug 2004 (2 hours later)

the locking mechanism is going to be revisited in the near future, so i'm closing this for now -- SvenDowideit - 22 Aug 2004

Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r10 - 2004-08-22 - SvenDowideit
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.