Clear Case Notes

Материал из Wiki
Перейти к: навигация, поиск


Clear Case

Здесь я буду записывать свои мысли о пользовании этой очень странной системой контроля версий.

Термины

  • VOB - versioned object base

Ошибки и их исправление

/opt/rational/clearcase/etc/scrubber exiting with status 1

Читая "утреннюю почту" на своем сервере, вижу

*******************************************************************
Sun May 30 04:30:00 2010. host "solaris-test", pid 22773, user "root"
Scrubber started at Sun May 30 04:30:00 2010

Forcing full scrub. Info file /var/adm/rational/clearcase/cache/scrubber_fs_info does not exist.
Started VOB solaris-test:/vobstore/PROJECT.vbs at Sun May 30 04:30:00 2010
scrubber: Error: Unable to get VOB tag registry information for replica uuid "33af44f5.6a6511df.9530.00:01:6e:04:3a:0d": ClearCase object not found
scrubber: Error: unable to access VOB solaris-test:/vobstore/PROJECT.vbs: ClearCase object not found
scrubber: Warning: skipping VOB solaris-test:/vobstore/PROJECT.vbs due to earlier errors
Finished VOB solaris-test:/vobstore/PROJECT.vbs at Sun May 30 04:30:00 2010
Started VOB solaris-test:/vobstore/PROJECT.1.vbs at Sun May 30 04:30:00 2010
scrubber: Error: Unable to get VOB tag registry information for replica uuid "76ff46ba.6a6511df.9538.00:01:6e:04:3a:0d": ClearCase object not found
scrubber: Error: unable to access VOB solaris-test:/vobstore/PROJECT.1.vbs: ClearCase object not found
scrubber: Warning: skipping VOB solaris-test:/vobstore/PROJECT.1.vbs due to earlier errors
Finished VOB solaris-test:/vobstore/PROJECT.1.vbs at Sun May 30 04:30:00 2010
Scrubber finished at Sun May 30 04:30:00 2010
/opt/rational/clearcase/etc/scrubber exiting with status 1

Другими словами, где-то есть какой-то повисший объект.
сайт IBM по этому поводу рекомендует следующее. Run the rgy_check utility, rgy_check -vobs:

root@solaris-test:rgy_check -views No registry errors/inconsistencies detected.
root@solaris-test:rgy_check -vobs rgy_check: Error: This VOB object is stranded (it has no tags in any region): -hostname = "solaris-test" -local_path = "/vobstore/PROJECT.1.vbs" -vob_replica = "76ff46ba.6a6511df.9538.00:01:6e:04:3a:0d" -vob_family = "76ff46b6.6a6511df.9538.00:01:6e:04:3a:0d" rgy_check: Error: 1 total registry errors/inconsistencies detected.


Unregister the VOB object, cleartool unregister -vob -uuid <vob_replica>:

cleartool unregister -vob -uuid "76ff46ba.6a6511df.9538.00:01:6e:04:3a:0d"

Насколько я могу судить, это решает данную проблему.

Ссылки