IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 16 and Version 17 of PS1_IPP_Czarlog_20130429


Ignore:
Timestamp:
May 2, 2013, 5:32:23 AM (13 years ago)
Author:
bills
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PS1_IPP_Czarlog_20130429

    v16 v17  
    2222
    2323{{{
    24 On the master
     24On the slave
     25mysql> show slave status\G
     26*************************** 1. row ***************************
     27             Slave_IO_State: Waiting for master to send event
     28                Master_Host: ippc17.ifa.hawaii.edu
     29                Master_User: repl_pstamp
     30                Master_Port: 3306
     31              Connect_Retry: 60
     32            Master_Log_File: mysqld-bin.000718
     33        Read_Master_Log_Pos: 63235322
     34             Relay_Log_File: mysqld-relay-bin.000002
     35              Relay_Log_Pos: 1751685
     36      Relay_Master_Log_File: mysqld-bin.000718
     37           Slave_IO_Running: Yes
     38          Slave_SQL_Running: No
     39            Replicate_Do_DB: ippRequestServer
     40        Replicate_Ignore_DB:
     41         Replicate_Do_Table:
     42     Replicate_Ignore_Table:
     43    Replicate_Wild_Do_Table:
     44Replicate_Wild_Ignore_Table:
     45                 Last_Errno: 1062
     46                 Last_Error: Error 'Duplicate entry '3478690' for key 1' on query. Default database: 'ippRequestServer'. Query: 'INSERT into dsFileset (prod_id, fileset_name, reg_time, type, prod_col_0, prod_col_1, prod_col_2, prod_col_3, prod_col_4, prod_col_5,  prod_col_6, prod_col_7) VALUES('52', 'dqstats.20794', UTC_TIMESTAMP(), 'table', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL)'
     47               Skip_Counter: 0
     48        Exec_Master_Log_Pos: 1751547
     49            Relay_Log_Space: 63235460
     50            Until_Condition: None
     51             Until_Log_File:
     52              Until_Log_Pos: 0
     53         Master_SSL_Allowed: No
     54         Master_SSL_CA_File:
     55         Master_SSL_CA_Path:
     56            Master_SSL_Cert:
     57          Master_SSL_Cipher:
     58             Master_SSL_Key:
     59      Seconds_Behind_Master: NULL
     601 row in set (0.00 sec)
     61
     62On the master the troublesome row is
     63
    2564select * From dsFileset where fileset_id = 3478690;
    2665+---------+------------+---------------+---------------------+------+-------+------------+------------+------------+------------+------------+------------+------------+------------+
     
    31701 row in set (0.00 sec)
    3271
    33 On the slave
     72While on the slave that id is used for another entry
     73
    3474mysql> select * From dsFileset where fileset_id = 3478690;
    3575+---------+------------+--------------------------------------+---------------------+------+----------+------------+------------+------------+-------------+------------------+------------+------------+------------+
     
    40801 row in set (0.00 sec)
    4181
    42 But this fileset is missing on the master
     82But that entry does not exist on the master
     83
    4384mysql> select * From dsFileset where fileset_name = 'o6414g0056o.camera.808365.2945979.26';
    4485Empty set (0.50 sec)
     86
     87
     88Interestingly the corresponding fileset directory does exist in the dsroot directory on ippc17.
     89
     90bills% ls /data/ippc17.0/datastore/dsroot/ps1-3pi-cat/o6414g0056o.camera.808365.2945979.26
     91dbinfo.camera.808365.mdc   index.txt
     92dirinfo.camera.808365.mdc  o6414g0056o.607641.cm.808365.tgz
     93
     94But is inacessible through the datastore because the
     95wcat http://ippc17/ds/ps1-3pi-cat/o6414g0056o.camera.808365.2945979.26/index.txt
     96
     97failed to find o6414g0056o.camera.808365.2945979.26 in ps1-3pi-cat
    4598}}}
    46 
    4799=== Friday : 2013.05.03  ===
    48100