https://forge.ispras.ru/https://forge.ispras.ru/favicon.ico?16490126692017-11-20T09:27:12ZOpen-Source ProjectsKlever - Feature #8580: Redundant data is stored in job archives for progresshttps://forge.ispras.ru/issues/8580?journal_id=321082017-11-20T09:27:12ZIlja Zakharovilja.zakharov@ispras.ru
<ul></ul><p>Also when I upload a solved job with the progress caclulated I see redundant "Total tasks to be solved: Estimating the number" but no other information about the progress.</p> Klever - Feature #8580: Redundant data is stored in job archives for progresshttps://forge.ispras.ru/issues/8580?journal_id=321262017-11-24T14:01:41ZVladimir Gratinskiygratinskiy@ispras.ru
<ul></ul><p>Now for uploaded jobs I have to show start and finish decision dates. Earlier it was missed (all jobs on ldvstore). To show this data I need to save it to archive and then, after job uploading, to DB. There is model "SolvingProgress" where these dates are saved. But for creating model I need also other fields that can't be null. So all fields for this model are saved in "progress". It is:<br />[priority, scheduler, start_date, finish_date, tasks_total, tasks_pending, tasks_processing, tasks_finished, tasks_error, tasks_cancelled, solutions, error, configuration]</p>
<p>Ilja Zakharov wrote:</p>
<blockquote>
<p>Also when I upload a solved job with the progress caclulated I see redundant "Total tasks to be solved: Estimating the number" but no other information about the progress.</p>
</blockquote>
<p>I'll check what's wrong, but it is another issue. Send me archive with such job.</p> Klever - Feature #8580: Redundant data is stored in job archives for progresshttps://forge.ispras.ru/issues/8580?journal_id=321292017-11-24T15:44:57ZEvgeny Novikovnovikov@ispras.ru
<ul><li><strong>Tracker</strong> changed from <i>Bug</i> to <i>Feature</i></li><li><strong>Priority</strong> changed from <i>Immediate</i> to <i>High</i></li><li><strong>Target version</strong> deleted (<del><i>1.0</i></del>)</li></ul><p>Vladimir Gratinskiy wrote:</p>
<blockquote>
<p>Now for uploaded jobs I have to show start and finish decision dates. Earlier it was missed (all jobs on ldvstore). To show this data I need to save it to archive and then, after job uploading, to DB. There is model "SolvingProgress" where these dates are saved. But for creating model I need also other fields that can't be null. So all fields for this model are saved in "progress". It is:<br />[priority, scheduler, start_date, finish_date, tasks_total, tasks_pending, tasks_processing, tasks_finished, tasks_error, tasks_cancelled, solutions, error, configuration]</p>
</blockquote>
<p>I understand that this isn't a bug but a minor refactoring. It looks like a bit incorrect design, if you need to transfer useless data in such the way. Perhaps you can split data and corresponding models so that just really necessary values will be downloaded/uploaded without model requirements. Moreover, it should allow to avoid duplicates. For instance, it seems that the same configuration is stored for progress and in directory "Configurations".</p> Klever - Feature #8580: Redundant data is stored in job archives for progresshttps://forge.ispras.ru/issues/8580?journal_id=373542019-12-03T15:31:11ZVladimir Gratinskiygratinskiy@ispras.ru
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Feedback</i></li></ul><p>Does this problem still exist?</p> Klever - Feature #8580: Redundant data is stored in job archives for progresshttps://forge.ispras.ru/issues/8580?journal_id=382752020-03-02T12:00:46ZEvgeny Novikovnovikov@ispras.ru
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Rejected</i></li><li><strong>Assignee</strong> deleted (<del><i>Vladimir Gratinskiy</i></del>)</li></ul><p>It exists, but I do not think that it is important at all.</p>