Key: |
QB-3054
|
Type: |
Bug
|
Status: |
Resolved
|
Resolution: |
Fixed
|
Priority: |
Critical
|
Assignee: |
Unassigned
|
Reporter: |
Piotr Jedrys
|
Votes: |
0
|
Watchers: |
1
|
If you were logged in you would be able to see more operations.
|
|
|
QuickBuild
Created: 03/Oct/17 10:09 AM
Updated: 13/Oct/17 10:54 AM
|
|
Component/s: |
None
|
Affects Version/s: |
None
|
Fix Version/s: |
7.0.25
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
After upgrading from QuickBuild 6.0.x to QuickBuild 7.0.16, we found out that metrics are not working anymore. The problem is because of :
Duplicate entry '1507021838789-xxx:8810-disk.usage./opt/quic' for key 'PK_DATA_R04'
quickbuild_master_1 | jvm 1 | Query is: /* insert com.pmease.quickbuild.model.MeasurementDataR04 */ insert into QB_MEASUREMENT_DATAR04 (QB_METRIC_NAME, QB_SOURCE, QB_TIMESTAMP, QB_VALUE, QB_ID) values (?, ?, ?, ?, ?), parameters ['disk.usage./opt/quickbuild','xxx:8810',1507021838789,0.1307280165131342,21857]
the strangest part is that the table is empty:
mysql> select * from QB_MEASUREMENT_DATAR04;
Empty set (0.00 sec)
and the manual insert works correctly:
mysql> insert into QB_MEASUREMENT_DATAR04 (QB_METRIC_NAME, QB_SOURCE, QB_TIMESTAMP, QB_VALUE, QB_ID) values ('disk.usage./opt/quickbuild','xxx:8810',1507021838789,0.1307280165131342,21857);
Query OK, 1 row affected (0.00 sec)
mysql> select * from QB_MEASUREMENT_DATAR04; +-------+----------------------------+-------------------------------+---------------+--------------------+
| QB_ID | QB_METRIC_NAME | QB_SOURCE | QB_TIMESTAMP | QB_VALUE |
+-------+----------------------------+-------------------------------+---------------+--------------------+
| 21857 | disk.usage./opt/quickbuild | xxx:8810 | 1507021838789 | 0.1307280165131342 |
+-------+----------------------------+-------------------------------+---------------+--------------------+
1 row in set (0.00 sec)
|
Description
|
After upgrading from QuickBuild 6.0.x to QuickBuild 7.0.16, we found out that metrics are not working anymore. The problem is because of :
Duplicate entry '1507021838789-xxx:8810-disk.usage./opt/quic' for key 'PK_DATA_R04'
quickbuild_master_1 | jvm 1 | Query is: /* insert com.pmease.quickbuild.model.MeasurementDataR04 */ insert into QB_MEASUREMENT_DATAR04 (QB_METRIC_NAME, QB_SOURCE, QB_TIMESTAMP, QB_VALUE, QB_ID) values (?, ?, ?, ?, ?), parameters ['disk.usage./opt/quickbuild','xxx:8810',1507021838789,0.1307280165131342,21857]
the strangest part is that the table is empty:
mysql> select * from QB_MEASUREMENT_DATAR04;
Empty set (0.00 sec)
and the manual insert works correctly:
mysql> insert into QB_MEASUREMENT_DATAR04 (QB_METRIC_NAME, QB_SOURCE, QB_TIMESTAMP, QB_VALUE, QB_ID) values ('disk.usage./opt/quickbuild','xxx:8810',1507021838789,0.1307280165131342,21857);
Query OK, 1 row affected (0.00 sec)
mysql> select * from QB_MEASUREMENT_DATAR04; +-------+----------------------------+-------------------------------+---------------+--------------------+
| QB_ID | QB_METRIC_NAME | QB_SOURCE | QB_TIMESTAMP | QB_VALUE |
+-------+----------------------------+-------------------------------+---------------+--------------------+
| 21857 | disk.usage./opt/quickbuild | xxx:8810 | 1507021838789 | 0.1307280165131342 |
+-------+----------------------------+-------------------------------+---------------+--------------------+
1 row in set (0.00 sec)
|
Show » |
Change by Robin Shen [03/Oct/17 10:58 AM]
|
Field |
Original Value |
New Value |
Assignee
|
Robin Shen
[ robinshine
]
|
Steve Luo
[ steve
]
|
Change by Steve Luo [09/Oct/17 02:34 PM]
|
Status
|
Open
[ 1
]
|
Resolved
[ 5
]
|
Assignee
|
Steve Luo
[ steve
]
|
|
Resolution
|
|
Fixed
[ 1
]
|
Change by Steve Luo [09/Oct/17 02:34 PM]
|
Fix Version/s
|
|
7.0.25
[ 11772
]
|
|