chensynge 2007-9-9 23:47
请所有参与2期项目的朋友翻译测试样张
谢谢大家的踊跃报名,为保证质量,请所有朋友先翻译一个测试样张。大家在完成翻译后,请直接发到我邮箱,会在评审后分配任务。一期全程参与的朋友不用参加本次测试。
原文见[url=http://www-1.ibm.com/support/docview.wss?rs=0&uid=swg21148695]http://www-1.ibm.com/support/docview.wss?rs=0&uid=swg21148695[/url]
About ClearCase Snapshot view updates[img=1,6]http://www.ibm.com/i/c.gif[/img][table=98%][tr][td=1,1,443][table=443][tr][td][table=443][tr][td=1,1,443][table][tr][td=1,1,438][table=443][tr][td=1,1,443][b] Technote (FAQ)[/b][/td][/tr][tr][td] [/td][/tr][tr][td=1,1,443][b]Problem[/b][/td][/tr][tr][td=1,1,443]This technote explains what takes place during an update of an IBM® Rational® ClearCase® snapshot view. [/td][/tr][tr][td] [/td][/tr][tr][td=1,1,443][b]Solution[/b][/td][/tr][tr][td=1,1,443]The view maintains a database of exactly what is loaded in a snapshot view. This database consists of: [list]the identity of the object (it's element oid and version oid), as well as [*]the filesystem properties of the loaded object (its size and modification-time)[/list]
During an update, the "update" client recursively walks: [list]the VOB namespace for each load rule (a full update), or [*]each specified pathname (an individual update)[/list]
The [font=新宋体]namespace[/font] is defined as seen through the view (that the config spec applies) -- and the update is performed in the context of an established "build reference time" (like [font=新宋体]clearmake[/font], essentially an implicit config spec time rule is established). [b]For each name, the update client:[/b]
1. Retrieves the filesystem information (size, mtime) for object (if a filesystem object exists at that name).
2. Requests the view server to "load" the object (providing the aforementioned info). The view server:
[list]evaluates the config spec for the object and determines what version should be loaded does some analysis to determine if the object is hijacked by comparing the provided size and mtime with what was previously stored in the view database for this object (assuming the object had previously been loaded). The newly selected version's identity is compared with the previously selected identity. The ultimate result is to be able to determine if the client (update) will need to load (copy) a new version into the snapshot view. [*]updates its database as required to record a newly selected version and finally determines the cleartext pathname for a new version (in the VOB's cleartext pool, invoking the type manager to construct the cleartext if necessary).[/list]
3. The update client completes the processing of an individual node using the information returned by the view server, copying a new version's cleartext from the VOB as required. For a "full update", following the above "load phase", the update client performs the "unload phase" processing. Update asks the view server for the list of loaded objects that haven't been visited during this update session. The client then does some analysis to determine if the snapshot view contains a hijacked file that needs to be preserved and then unloads the file from the filesystem and tells the view server to remove the entry from its database.
There are a variety of edge cases / optimizations to consider as well. For example:
[list]Symbolic links have special processing. There's special processing related to case-insensitivity settings of filesystem. How version data is copied from the VOB depends on whether CCFS is in use or not. [*]Various [font=新宋体]cleartool[/font] sub-commands (such as, [font=新宋体]mkelem, mkbranch, ci, unco[/font]) implicitly do update processing for individual objects.[/list]
For more information on using [font=新宋体]cleartool update[/font], refer to the [i]IBM Rational ClearCase Command Reference[/i], or run [font=新宋体]cleartool man update[/font]. Also, there is more information available on Snapshot Views documented in the [i]IBM Rational ClearCase Administration Guide[/i]. If you need a soft copy, the cc_admin.pdf is available on any host with ClearCase installed located by default in: [list]UNIX or Linux: [font=新宋体]/opt/rational/clearcase/doc/books[/font] [*]Windows: [font=新宋体]C:\Program Files\Rational\ClearCase\doc\Books[/font][/list][/td][/tr][/table][/td][/tr][/table][/td][/tr][/table][/td][/tr][/table][/td][/tr][/table]