Coffee
Updated on Tue, 2008-06-17 09:27. Originally created by aihong on 2008-06-17 09:27.Reference
Talk time : 15:30, Duration : 00:20
Coffee
Updated on Tue, 2008-06-17 09:14. Originally created by aihong on 2008-06-17 09:13.Reference
Talk time : 15:30, Duration : 00:30
Coffee
Updated on Tue, 2008-06-17 09:22. Originally created by aihong on 2008-06-17 09:09.Reference
Talk time : 10:45, Duration : 00:30
DB Consistency Analysis / Maatkit
Updated on Tue, 2008-06-17 08:31. Originally created by kocolosk on 2008-06-17 08:18.Intro
I’ve been struggling to keep our MIT database mirror synchronized with the BNL master, and I wanted to write about some steps we (STAR) might take to do a better job of keeping our slaves synchronized. The problem that I’m worried about is the situation where, according the the Heartbeat Page, a slave is up-to-date with robinson, but in reality the slave somehow become silently corrupted.
Initial Checksums
It turns out that this problem is actually pretty common. I found what seems to be a slick set of utilities called Maatkit that will calculate checksums of every table in a DB and look for differences between replicated DBs. I ran mk-table-checksum
on the following servers
- robinson.star.bnl.gov:3306
- db01.star.bnl.gov:3316
- db02.star.bnl.gov:3316
- db03.star.bnl.gov:3316
- rhig.physics.yale.edu:3316
- star1.lns.mit.edu:3316
and attached the output below as initial_checksum.txt. None of the slaves in that list are fully in sync with robinson according to those checksums. db02 and db03 come much closer than the others; in db02’s case only Calibrations_tracker.{schema,ssdHitError} are different from robinson. I verified for a few cases that differences actually do exist in the tables when the checksums don’t match.
Resynchronization and Results
Maatkit also provides a utility (mk-table-sync
) which will determine and optionally execute the SQL commands needed to re-sync one server against another. I used this utility to re-sync star1 against robinson — it takes quite a while. I then ran mk-table-checksum
and mk-checksum-filter
again, and attached the output as checksum_after_sync_filtered.txt. Unfortunately, robinson and star1 still don’t have perfect agreement according to the checksums. I’m not sure what tables like Nodes
, NodeRelation
, and tableCatalog
do, but I noticed the following “physics” tables still did not have matching checksums:
- Calibrations_ftpc.ftpcGasOut
- Calibrations_rich.trigDetSums
- Calibrations_svt.svtPedestals
- RunLog_onl.beamInfo
- RunLog_onl.biFitParams
- RunLog_onl.starMagOnl
- RunLog_onl.zdcFitParams
Now comes a weird part: I tried a SELECT * FROM biFitParams
on star1 and on robinson, and in that case there was no difference in the output. I’m not sure how the checksums could still be different in that case. I also tried diff’ing the starMagOnl tables; the only difference I found was one server reported some currents as “-0.0000000000” and the other one reported “0.0000000000” (no leading minus sign).
Summary
So, I realize the results aren’t 100% conclusive, but I still believe that these maatkit scripts would be a valuable addition to STAR’s QA toolkit. They definitely helped me correct a variety of real problems with our MIT database mirror.
It’s straightforward to take the output of mk-table-checksum
and mk-checksum-filter
and programmatically put it on a webpage; in fact, Mike Betancourt wrote up a little sed script to do just that. I think we should try scheduling ~daily checksum calculations and posting any discrepancies to the Heartbeat webpage automatically.
TPC resistor chain at phi=106 deg
Updated on Tue, 2008-06-17 21:37. Originally created by balewski on 2008-06-16 14:20. Under:Here is what we know about TPC resistor chain in IFC positioned at 106 deg in phi.
Comparison of D0 variables from GEANT and reco
Updated on Thu, 2008-06-19 19:47 by bouchet. Originally created by suaide on 2008-06-16 10:17.Reference
Speaker : Jonathan/Jaiby Joseph
Talk time : 15:00, Duration : 00:10
Pileup simulation in BFC
Updated on Tue, 2009-09-01 19:16. Originally created by balewski on 2008-06-14 07:27.M-C pileup simulation
- Prepare 2 .fzd files, use the same geometry
- phys.fzd ( hard process simulation you want to study).
Morning Break
Updated on Fri, 2008-06-13 18:14. Originally created by jrobles on 2008-06-13 18:14.Reference
Talk time : 10:15, Duration : 00:15
Lunch Break
Updated on Tue, 2008-06-17 09:25 by aihong. Originally created by jrobles on 2008-06-13 17:57.Reference
Talk time : 12:05, Duration : 02:10
Afternoon Break
Updated on Fri, 2008-06-13 17:29. Originally created by jrobles on 2008-06-13 17:29.Reference
Talk time : 15:40, Duration : 00:20
Morning Break
Updated on Fri, 2008-06-13 17:21. Originally created by jrobles on 2008-06-13 17:21.Reference
Talk time : 11:00, Duration : 00:20
Parity Violation in Strong Interactions
Updated on Fri, 2008-06-20 17:46 by jhthomas. Originally created by aihong on 2008-06-13 09:18.Reference
Speaker : Jim Thomas ( LBNL )
Talk time : 15:00, Duration : 00:20
STAR HBT meeting
EVO, at 14:30 (GMT), duration : 01:30
RHIC Spin DOE report Overview / Delta G Workshop Summary
Updated on Wed, 2008-06-18 19:16 by surrow. Originally created by bedanga on 2008-06-13 05:10.Reference
Speaker : Bernd Surrow ( MIT )
Talk time : 12:00, Duration : 00:30
Discussion: simulation needs and AOB
Updated on Thu, 2008-06-19 20:33 by betan. Originally created by sichterm on 2008-06-12 19:43.Reference
Speaker : All
Talk time : 17:30, Duration : 00:20
Inclusive neutral pion and direct photon production at high transverse momentum in p+p and d+Au at sqrt(s_NN) = 200 GeV
Updated on Wed, 2008-06-18 12:22 by ogrebeny. Originally created by sichterm on 2008-06-12 19:38.Reference
Speaker : Oleksandr Grebenyuk ( LBNL )
Talk time : 15:45, Duration : 00:20
Pythia Analysis ver 3.2: Analysis of set C5 events using geant record
Updated on Thu, 2008-09-25 12:15. Originally created by pagebs on 2008-06-12 18:21. Under:Analysis of all setC5 events using Geant tracks and vertices
19.6 GeV HBT
Updated on Sat, 2008-06-21 14:29 by balewski. Originally created by ruanlj on 2008-06-12 14:56.Reference
Speaker : Zbigniew Chajecki ( OSU )
Talk time : 16:30, Duration : 00:10
Photon Multiplicity results from Au+Au collisions at 200 GeV
Updated on Wed, 2008-06-18 07:17 by lokesh. Originally created by ruanlj on 2008-06-12 14:45.Reference
Speaker : Lokesh Kumar
Talk time : 09:00, Duration : 09:30