How a snapshot view selects versions
A snapshot view’s config spec and load rules determine which versions of elements are loaded into the snapshot view directory by the cleartool update command.
Each time you update a snapshot view, the view_server process
evaluates the view’s config spec, selects a version of each element defined
in the load rules, and copies a new version of any element loaded in the snapshot
view directory if the element does not match the selected version. It uses
the following method to resolve element names to versions.
- The view server attempts to locate a version of the element that matches the first rule in the config spec. If this fails, it proceeds to the next rule and, if necessary, to succeeding rules until it locates a matching version.
- When it finds a matching version, the view server selects it, updates the view’s database, and passes a handle to that version to the VersionVault File Service server, which copies it into the snapshot view directory.