Bug 21717 - Das Löschen von Abbildern blockiert die Rückkehr von UVMM: Es sollte asynchron geschehen
Das Löschen von Abbildern blockiert die Rückkehr von UVMM: Es sollte asynchro...
Status: CLOSED WONTFIX
Product: UCS
Classification: Unclassified
Component: Virtualization - UVMM
UCS 2.4
Other Linux
: P5 enhancement (vote)
: ---
Assigned To: Bugzilla Mailingliste
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-03 15:32 CET by Janek Walkenhorst
Modified: 2023-06-28 10:46 CEST (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Janek Walkenhorst univentionstaff 2011-03-03 15:32:24 CET
Das Löschen von großen Dateien kann einige Zeit in Anspruch nehmen, um UVMM nicht unnötig zu blockieren sollte der entsprechende Prozess vorher forken:

os.remove(Abbild)

↓

if os.fork():
  os.remove(Abbild)
  sys.exit()
Comment 1 Philipp Hahn univentionstaff 2011-03-03 15:45:50 CET
Eher WONTFIX, weil wir dann keine synchrone Rückmeldung mehr geben können, ob es geklappt hat. Sinnvoller wäre allgemein ein Fortschrittsbalken bei länger andauernden Aktionen wie Migrieren, ...
Comment 2 Andreas Büsching univentionstaff 2011-03-03 23:04:54 CET
(In reply to comment #1)
> Eher WONTFIX, weil wir dann keine synchrone Rückmeldung mehr geben können, ob
> es geklappt hat. Sinnvoller wäre allgemein ein Fortschrittsbalken bei länger
> andauernden Aktionen wie Migrieren, ...

Das sehe ich genauso. Asynchron ist ok, aber nur, wenn wir noch "vernünftig" Rückmeldungen bekommen.
Comment 3 Janek Walkenhorst univentionstaff 2015-01-06 12:18:36 CET
Other possibilities:

* Link the file into a temporary directory, then synchronously unlink the original name and have a (cron) job delete the temp file(s) in the background.


* Unlink the file in the background and wait for the name to disappear in the foreground process, afaik the name perishes quite fast but the kernel just needs a context for the expensive filesystem operation.

The background process could even feed back the result if the long execution time is only in the case of success. (Fork delete, wait for (name to disappear) or (an error being fed back)
Comment 4 Stefan Gohmann univentionstaff 2016-04-25 07:53:02 CEST
This issue has been filed against UCS 2.4.

UCS 2.4 is out of maintenance and many UCS components have vastly changed in
later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug".
In this case please provide detailed information on how this issue is affecting
you.