Initial add of defaria.com
[clearscm.git] / defaria.com / blogs / Status / archives / 000700.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard">
4 <head>
5    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6    <meta name="generator" content="Movable Type 5.2.3" />
7
8    <link rel="stylesheet" href="http://defaria.com/blogs/Status/styles-site.css" type="text/css" />
9    <link rel="alternate" type="application/atom+xml" title="Atom" href="http://defaria.com/blogs/Status/atom.xml" />
10    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://defaria.com/blogs/Status/index.xml" />
11
12    <title>Status for Andrew DeFaria: Sharable vs Non-sharable derived objects</title>
13
14    <link rel="start" href="http://defaria.com/blogs/Status/" title="Home" />
15    <link rel="prev" href="http://defaria.com/blogs/Status/archives/000699.html" title="Santity Progress" />
16    <link rel="next" href="http://defaria.com/blogs/Status/archives/000701.html" title="EAST Automation" />
17
18    <!--
19 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
20          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
21          xmlns:dc="http://purl.org/dc/elements/1.1/">
22 <rdf:Description
23     rdf:about="http://defaria.com/blogs/Status/archives/000700.html"
24     trackback:ping="http://defaria.com/mt/mt-tb.cgi/87"
25     dc:title="Sharable vs Non-sharable derived objects"
26     dc:identifier="http://defaria.com/blogs/Status/archives/000700.html"
27     dc:subject="General Dynamics"
28     dc:description=" Resolved Helpdesk ticket involving non-sharable derived objects..."
29     dc:creator=""
30     dc:date="2008-03-17T15:40:07-06:00" />
31 </rdf:RDF>
32 -->
33
34
35    
36
37    <script type="text/javascript" src="http://defaria.com/blogs/Status/mt-site.js"></script>
38 </head>
39 <body class="layout-one-column" onload="individualArchivesOnLoad(commenter_name)">
40    <div id="container">
41       <div id="container-inner" class="pkg">
42
43          <div id="banner">
44             <div id="banner-inner" class="pkg">
45                <h1 id="banner-header"><a href="http://defaria.com/blogs/Status/" accesskey="1">Status for Andrew DeFaria</a></h1>
46                <h2 id="banner-description">Searchable status reports and work log</h2>
47             </div>
48          </div>
49
50          <div id="pagebody">
51             <div id="pagebody-inner" class="pkg">
52                <div id="alpha">
53                   <div id="alpha-inner" class="pkg">
54
55                      <p class="content-nav">
56                         <a href="http://defaria.com/blogs/Status/archives/000699.html">&laquo; Santity Progress</a> |
57                         <a href="http://defaria.com/blogs/Status/">Main</a>
58                         | <a href="http://defaria.com/blogs/Status/archives/000701.html">EAST Automation &raquo;</a>
59                      </p>
60
61                      <a id="a000700"></a>
62                      <div class="entry" id="entry-700">
63                         <h3 class="entry-header">Sharable vs Non-sharable derived objects</h3>
64                         <div class="entry-content">
65                            <div class="entry-body">
66                               <ul>
67   <li>Resolved Helpdesk ticket involving non-sharable derived objects</li>
68 </ul>
69                            </div>
70                            <div id="more" class="entry-more">
71                               <h2>Sharable vs Non-sharable DOs</h2>
72
73 <p>In Clearcase terms, DOs, or Derived Objects are objects created during a build. These are created when clearmake (or omake) is used. Clearmake will create a configuration record, AKA a bill of lading - basically a record of everything that went into making this derived object. Clearmake then adds a record to the vob saying that it made this DO and if any subsequent clearmake is attempting to make this same DO (given the same input or configuration record that is) then this DO is available for wink in. At this time the DO is copied to the vob and winked into the other view that was requesting this DO be build and the DOs reference count gets incremented. Or at least that's how DOs and winkins are supposed to work</p>
74
75 <p>Rational also introduced a concept of <i>express building</i> which essentially creates "non-sharable DOs". A sharable DO and a non-sharable DO are essentially the same except that the advertisement of the DO is not made in the VOB.</p>
76
77 <p>Here the error message stated:</p>
78
79 <div class=code><pre>
80 'Unable to change meta type of "/vobs/rnc/rnsap/trace_support/decoder_tmp" to create derived object reference count - No such file or directory'.
81 </pre></div>
82
83 <p>Notice the "_tmp" portion. The DO was named decoder, not decoder_tmp. I first thought perhaps Clearcase is just having a problem creating decorder_tmp which it may have needed temporarily. I tried touching that file and it was OK.  I then removed the decode_tmp file I touch and tried the checkin. It failed again.</p>
84
85 <p>The view was marked as nshareable_dos:
86
87 <div class=code><pre>
88 $ ct lsview -full -properties p57347_RANCQ00028109_devview | grep Properties
89 Properties: dynamic ucmview readwrite nshareable_dos
90 </pre></div>
91
92 <p>This is odd because the default, as shown by:</p>
93
94 <div class=code><pre>
95 $ ct lssite -inquire | grep shareable
96   view_shareable_dos=TRUE
97 </pre></div>
98
99 <p>is turned on for the site. I then thought that perhaps the problem is trying to check in a nonshareable DO is not allowed. Reading on the ct man winkin page is says:</p>
100
101 <blockquote>
102 winkin also converts nonshareable DOs to shareable (promoted) DOs. If you specify a nonshareable DO, winkin first advertises the DO by writing information about it to the VOB, and then promotes it by copying its data container into the VOB and moving its configuration record into the VOB. Because a shareable DO cannot have nonshareable sub-DOs or sibling DOs, winking in a nonshareable DO also advertises its sub-DOs and siblings, converting them to shareable DOs. With -siblings, winkin advertises and promotes the DO's siblings.
103 </blockquote>
104
105 <p>However even a ct winkin decoder gave the same error message. So then I again touched decoder_tmp and then ran the ct winkin and it worked! So I then checked in this derived object.</p>
106
107 <p><b>Note</b>: You can change changed a view to sharable_dos with:</p>
108
109 <div class=code><pre>
110 $ ct chview -sharable_dos p57347_RANCQ00028109_devview
111 </pre></div>
112
113                            </div>
114                         </div>
115                         <p class="entry-footer">
116                            <span class="post-footers">Posted by  on March 17, 2008  3:40 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000700.html">Permalink</a>
117                         </p>
118                      </div>
119
120                      
121                      <div class="trackbacks">
122                         <h3 id="trackback" class="trackbacks-header">TrackBack</h3>
123                         <div id="trackbacks-info">
124                            <p>TrackBack URL for this entry:<br />http://defaria.com/mt/mt-tb.cgi/87</p>
125                         </div>
126                         <div class="trackbacks-content">
127                            
128                         </div>
129                      </div>
130                      
131
132                      
133                   </div>
134                </div>
135             </div>
136          </div>
137       </div>
138    </div>
139 </body>
140 </html>