T.R | Title | User | Personal Name | Date | Lines |
---|
4271.1 | Some explanation, does this help? | IOSG::CARLIN | Dick Carlin IOSG, Reading, England | Fri Jun 17 1994 13:26 | 27 |
| Fritz
This is the reasoning that led to the design of this script:
(Avoiding copying)
One performance goal was that we should avoid making a copy where
possible, especially for WPS-PLUS documents, since WPS-PLUS was
considered to be the flagship word processor. For people upgrading to
V3.* and sharing their drawers we were asked that editing should not be
degraded from when the user's drawer was not shared. This meant that
another user would be unable to read a WPS-PLUS document that you were
editing, but this was considered to be an acceptable trade-off.
(checking EXCLUSIVE lock)
Given the above decision, we didn't want someone who was reading a
document to prevent someone else from editing it. Therefore we do a
trial EXCLUSIVE lock. If it is not successful then we know that
WPS-PLUS would fail so we copy anyway.
So if the reader gets there first we are ok, but if the editor gets
there first the reader is unlucky.
Needless to say this approach wasn't the first choice of everybody
(myself included - dare I say it?). The script can be customised, but
it obviously needs care.
Dick
|
4271.2 | Yes, I understand, but... | PEARS::KRAMER | Fritz Kramer @UFC, Munich, 865-1305 | Fri Jun 17 1994 17:08 | 23 |
| Dick,
thanks for your explanation
Yes, now I do better understand the the reasoning behind the logic.
However from the endusers point of view it's rather confusing
what's going on behind the scenes, as
the behaviour seem not to be consistent: "Sometimes I can read/print the
document, sometimes not -> so there must be a bug".
On the other hand the error message from the read/print script is
misleading somehow: "File does not exist"
From the programmers/system managers point of view I would like to
have a flag in FORMAT.DAT, indicating whether the a working copy
of the document needs to be made or not. This would prevent us/me from
customizing the script e.g for WPSPLUS or any other!!! editor integrated
in ALL-IN-1.
Just some thoughts
Fritz
|
4271.3 | | IOSG::CARLIN | Dick Carlin IOSG, Reading, England | Mon Jun 20 1994 11:15 | 6 |
| Fritz
Yes, making it configurable sounds like a good idea. Too late for this
release unfortunately, but we'll bear it in mind.
Dick
|