Project

General

Profile

Actions

Feature #5449

open

Improvement of kb-recalc script

Added by Vitaly Mordan over 9 years ago. Updated over 9 years ago.

Status:
Open
Priority:
Normal
Category:
Statistics server
Start date:
11/26/2014
Due date:
% Done:

0%

Estimated time:
Published in build:

Description

Right now it is possible to "delete" a pair <KB record, Error trace> by modifying KB record fields module, rule, main or script because of current implementation of kb-recalc script.
In LDV Analytics Center 0.11 it may lead to lose of already published KB records (corresponding Bug on linuxtesting.org will have a link to LDV Analytics Center with published trace but without published KB record).
Possible temporarily solution: create a new KB record that was deleted, manually set corresponding field published_trace_id in table results_kb to corresponding Bug id on linuxtesting.org (~ "UPDATE results_kb SET published_trace_id=<corresponding_bug_id> WHERE trace_id=<corresponding_trace_id> AND kb_id=<corresponding_kb_id>;") and then use "Update" button. Also in LDV Analytics Center 0.11 it is possible to find all those "deleted" KB records (which is not attached to any error trace) on page "Knowledge base" and delete them.

Actions

Also available in: Atom PDF