[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

3540.0. "One more FCS Question ...!" by VNOTSC::EHRLICH (The seventh seal!) Tue Nov 16 1993 14:55

    Hi,
    
    	We've a document in a shared drawer. Each time someone will
    Edit this document results in the following: (e.g. MANAGER)
    
    The message 'COPYING_DOCUMENT' appears and it takes a long time
    'til you're in the WPS+ editor.
    
    After finishing all modifications with F10 you'll get the message
    'DOCUMENT_REPLACED'.
    
    I've traced this but I don'T know why the FCS does this so complicated.
    It happens with one document only.
    
    We're using ALL-IN-1 V3.0-1 German LLV and approx. 200 Users on a 
    2 node VAXcluster running VMS V5.5-2.
    
    Any ideas?
    
    Best regards
    Charly_from_CSC_Vienna 
T.RTitleUserPersonal
Name
DateLines
3540.1IOSG::CARLINDick Carlin IOSG, Reading, EnglandTue Nov 16 1993 16:0513
    Charly
    
    The decision to copy is based on drawer type / editor type / document
    type / full moon etc. It's an IOS client decision, rather than the
    FCS's.
    
    You say you have traced it. How does the trace differ from that for a
    document that doesn't result in a copy?
    
    Alternatively give me a pointer to the trace and I'll be happy to look
    at it.
    
    Dick
3540.2My honest opinion...VNABRW::EHRLICH_KI know what I want...Wed Nov 17 1993 08:1024
    Good morning Dick,
    
    	sorry for the short (&dirty) topic. I was at customer's site
    yesterday to update (patch) his ALL-IN-1 V3.0-1 system. 
    
    Normaly, when you're editing a document from a shared folder, you'll
    get into the document very fast. You don't see any messages before.
    
    BUt in this case - and it happens random but very often - it seems that
    the document is COPIED in the maindrawer of the user - This explains the
    'COPYING_DOCUMENT' message. Then you can edit it and after finishing
    (F10) it'll be copied back in the drawer. 
    
    The document was not reserved by another user before.
    
    Sorry, I've traced it only with trace to terminal. And after rebooting 
    the system yesterday (better today morning) everything is ok now.
    
    It is very interesting to know why this happend.
    
    Have a nice day
    Charly_from_CSC_Vienna_Now_Very_sleepy!
    
    
3540.3Try this on a large documentIOSG::CARLINDick Carlin IOSG, Reading, EnglandWed Nov 17 1993 10:2720
    Charly
    
    I think I know what it might be (and you can check this fairly easily).
    I didn't mention it before because I didn't realise the relevant change
    had got into V3.0-1.
    
    Since WPS-PLUS takes out an exclusive lock on the document file it
    would be prevented from editing if someone else was reading it (because
    of the dsab mechanism this only shows up for larger documents).
    
    So what we do is check if someone has an rms lock on the file, and if so
    we make a copy for the editor to work on.
    
    This means that the reader is looking at a version that is about to be
    obsoleted, but this is a necessary consequence of sharing drawers. We
    could warn the reader but it is only marginally different to the case
    where the reader reads and, microseconds later, the updater updates.
    So we don't :-)
    
    Dick
3540.4Yeah! You're right...VNABRW::EHRLICH_KR.J.DIO live in Vienna(4.12.)!Wed Nov 17 1993 11:2515
    Dick,
    
    	many thanks for the details. Yes that's the point. I've seen
    in the trace (sorry, i'Ve forgotten it) the LOCK = EXCLUSIVE will
    be checked first.
    
    I've reproduced this here on our cluster, you're right!
    
    A warning would be nice. (:==:)
    
    Thank you very much again, brilliant!
    
    Dick, have a nice day!
    Cheers
    Charly
3540.5Not READ only -> CIB !VNABRW::EHRLICH_KR.J.DIO live in Vienna(4.12.)!Wed Nov 17 1993 11:417
    Hi Dick,
    
    	Another user needs not reading the document, you'll see this 'behaviour'
    when it's selected in the CIB, too.
    
    Cheers
    Charly
3540.6IOSG::CARLINDick Carlin IOSG, Reading, EnglandWed Nov 17 1993 14:308
    Charly
    
    All I can say in my defense is that the situation was worse before
    V3.0-1. The edit would not have been able to go ahead.
    
    Cheers
    
    Dick
3540.7The CIB answerIOSG::CARLINDick Carlin IOSG, Reading, EnglandWed Nov 17 1993 14:5211
    Re .5
    
    Aha. I've just worked out what the CIB is :-) We've handled this
    separately in that we no longer lock what is in the context block
    (until you start doing an operation on it of course). So, if someone
    else has a document just sitting in their context block, you will be
    able to delete/refile/edit it etc, and the edit won't copy.
    
    Unfortunately that one didn't make it into V3.0-1.
    
    Dick