Initial add of defaria.com
[clearscm.git] / defaria.com / blogs / Status / archives / week_2008_03_16.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: March 16, 2008 - March 22, 2008 Archives</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/week_2008_03_02.html" title="March  2, 2008 - March  8, 2008" />
16    <link rel="next" href="http://defaria.com/blogs/Status/archives/week_2008_03_23.html" title="March 23, 2008 - March 29, 2008" />
17 </head>
18 <body class="layout-one-column">
19    <div id="container">
20       <div id="container-inner" class="pkg">
21
22          <div id="banner">
23             <div id="banner-inner" class="pkg">
24                <h1 id="banner-header"><a href="http://defaria.com/blogs/Status/" accesskey="1">Status for Andrew DeFaria</a></h1>
25                <h2 id="banner-description">Searchable status reports and work log</h2>
26             </div>
27          </div>
28
29          <div id="pagebody">
30             <div id="pagebody-inner" class="pkg">
31                <div id="alpha">
32                   <div id="alpha-inner" class="pkg">
33                      
34                      <p class="content-nav">
35                         <a href="http://defaria.com/blogs/Status/archives/week_2008_03_02.html">&laquo; March  2, 2008 - March  8, 2008</a> |
36                         <a href="http://defaria.com/blogs/Status/">Main</a>
37                         | <a href="http://defaria.com/blogs/Status/archives/week_2008_03_23.html">March 23, 2008 - March 29, 2008 &raquo;</a>
38                      </p>
39                      
40                      
41                      <!--
42 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
43          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
44          xmlns:dc="http://purl.org/dc/elements/1.1/">
45 <rdf:Description
46     rdf:about="http://defaria.com/blogs/Status/archives/week_2008_03_16.html#entry-000700"
47     trackback:ping="http://defaria.com/mt/mt-tb.cgi/87"
48     dc:title="Sharable vs Non-sharable derived objects"
49     dc:identifier="http://defaria.com/blogs/Status/archives/week_2008_03_16.html#entry-000700"
50     dc:subject="General Dynamics"
51     dc:description=" Resolved Helpdesk ticket involving non-sharable derived objects..."
52     dc:creator=""
53     dc:date="2008-03-17T15:40:07-06:00" />
54 </rdf:RDF>
55 -->
56
57
58                      <h2 class="date-header">March 17, 2008</h2>
59                      <a id="a000700"></a>
60                      <div class="entry" id="entry-700">
61                         <h3 class="entry-header">Sharable vs Non-sharable derived objects</h3>
62                         <div class="entry-content">
63                            <div class="entry-body">
64                               <ul>
65   <li>Resolved Helpdesk ticket involving non-sharable derived objects</li>
66 </ul>
67                               
68                               <h2>Sharable vs Non-sharable DOs</h2>
69
70 <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>
71
72 <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>
73
74 <p>Here the error message stated:</p>
75
76 <div class=code><pre>
77 'Unable to change meta type of "/vobs/rnc/rnsap/trace_support/decoder_tmp" to create derived object reference count - No such file or directory'.
78 </pre></div>
79
80 <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>
81
82 <p>The view was marked as nshareable_dos:
83
84 <div class=code><pre>
85 $ ct lsview -full -properties p57347_RANCQ00028109_devview | grep Properties
86 Properties: dynamic ucmview readwrite nshareable_dos
87 </pre></div>
88
89 <p>This is odd because the default, as shown by:</p>
90
91 <div class=code><pre>
92 $ ct lssite -inquire | grep shareable
93   view_shareable_dos=TRUE
94 </pre></div>
95
96 <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>
97
98 <blockquote>
99 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.
100 </blockquote>
101
102 <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>
103
104 <p><b>Note</b>: You can change changed a view to sharable_dos with:</p>
105
106 <div class=code><pre>
107 $ ct chview -sharable_dos p57347_RANCQ00028109_devview
108 </pre></div>
109
110                               
111                               <p class="entry-footer">
112                                  <span class="post-footers">Posted by  at  3:40 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000700.html">Permalink</a>
113                                  
114                                  | <a href="http://defaria.com/blogs/Status/archives/000700.html#trackback">TrackBacks (0)</a>
115                               </p>
116                            </div>
117                         </div>
118                      </div>
119                      
120                   </div>
121                </div>
122             </div>
123          </div>
124       </div>
125    </div>
126 </body>
127 </html>