#711 closed defect (duplicate)
Deleting a bioassayset doesn't decrease used quota as much as expected
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | critical | Milestone: | BASE 2.4 |
Component: | core | Version: | |
Keywords: | Cc: |
Description
- I started out with a new fresh experiment. It used 0 bytes.
- A couple of raw bioassays was added to it and a root bioassayset was created. Now it used 120kb
- I deleted the root bioassayset and transformation (also from the trashcan), leaving the experiment with no analysed data. It still reports 60kb used
Change History (4)
comment:1 by , 17 years ago
Owner: | changed from | to
---|---|
Priority: | minor → critical |
Status: | new → assigned |
comment:3 by , 17 years ago
The good news is that the problem with the experiment beeing updated twice was introduced by the fix to ticket #692. Since this has not yet been released we don't need an update script that corrects the existing byte count on the experiments.
Note:
See TracTickets
for help on using tickets.
I have made some initial checks and the problem seems to be unrelated to the deletions. It is instead the creation that adds to many bytes. In fact, it seems like it adds the correct number of bytes two times. This means that probably all existing experiments have a too high value for the number of bytes. This must be recalculated by the update script. We must also find out why the number of bytes are updated twice. By debug output I have found that Experiment.onBeforeCommit() are called twice from the same place in DbControl.commit(). Here is the stacktrace: