Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #7825 (closed)

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

Bug: delete may not work on chgrp branch

Reported by: jamoore Owned by:
Priority: critical Milestone: OMERO-4.4
Component: Services Version: n.a.
Keywords: n.a. Cc: amanda.miotto.1@…, cneves
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2012-04-10 (12)

Description

See: https://www.openmicroscopy.org/community/viewtopic.php?f=6&t=1028

From Manda's logs:

2012-01-18 13:51:02,162 WARN  [           ome.services.graphs.GraphStep] (2-thread-5) Missing object 11 from Image: root=11

Although previous calls by user=2,group=53 manage to load image:11, the delete on image:11 cannot find it.

Change History (10)

comment:1 Changed 12 years ago by jmoore

  • Status changed from new to accepted

comment:2 Changed 12 years ago by jmoore

  • Cc cneves-x added

Hi Amanda,

I just tried to reproduce locally without the chgrp, but the delete worked fine. Digging through the logs, it looks like on image 11 you tried a chgrp which succeeded, then the deletes which fail because of a rendering definition. My guess is that the chgrp is not doing the right thing with the rendering def and therefore the delete is failing. Does that sound plausible?

 /tmp/manz/oldlogs $ grep -E "Image.*11" Blitz-0.18.1.2012.log  | grep -iE "(chgrp|delet|miss|failed)"
2012-01-18 13:32:27,392 INFO  [                 omero.cmd.graphs.ChgrpI] (2-thread-3) type=/Image, id=11 options={} [steps=26]
2012-01-18 13:51:01,789 INFO  [   ome.services.blitz.impl.DeleteHandleI] (2-thread-5) Deleting /Image:11
2012-01-18 13:51:02,138 WARN  [           ome.services.graphs.GraphStep] (2-thread-5) Missing object 29 from Image/Pixels/Channel: root=11
2012-01-18 13:51:02,142 WARN  [           ome.services.graphs.GraphStep] (2-thread-5) Missing object 29 from Image/Pixels/Channel/StatsInfo: root=11
2012-01-18 13:51:02,147 WARN  [           ome.services.graphs.GraphStep] (2-thread-5) Missing object 29 from Image/Pixels/Channel/LogicalChannel: root=11
2012-01-18 13:51:02,158 WARN  [           ome.services.graphs.GraphStep] (2-thread-5) Missing object 11 from Image/Pixels: root=11
2012-01-18 13:51:02,162 WARN  [           ome.services.graphs.GraphStep] (2-thread-5) Missing object 11 from Image: root=11
2012-01-18 13:51:02,162 INFO  [                 org.perf4j.TimingLogger] (2-thread-5) start[1326858662159] time[3] tag[omero.deletestep.Image.11]
2012-01-18 13:54:31,516 INFO  [   ome.services.blitz.impl.DeleteHandleI] (2-thread-2) Deleting /Image:11
2012-01-18 13:54:31,584 WARN  [           ome.services.graphs.GraphStep] (2-thread-2) Missing object 29 from Image/Pixels/Channel: root=11
2012-01-18 13:54:31,586 WARN  [           ome.services.graphs.GraphStep] (2-thread-2) Missing object 29 from Image/Pixels/Channel/StatsInfo: root=11
2012-01-18 13:54:31,588 WARN  [           ome.services.graphs.GraphStep] (2-thread-2) Missing object 29 from Image/Pixels/Channel/LogicalChannel: root=11
2012-01-18 13:54:31,593 WARN  [           ome.services.graphs.GraphStep] (2-thread-2) Missing object 11 from Image/Pixels: root=11
2012-01-18 13:54:31,595 WARN  [           ome.services.graphs.GraphStep] (2-thread-2) Missing object 11 from Image: root=11
2012-01-18 13:54:31,595 INFO  [                 org.perf4j.TimingLogger] (2-thread-2) start[1326858871594] time[1] tag[omero.deletestep.Image.11]
2012-01-18 14:02:00,174 INFO  [   ome.services.blitz.impl.DeleteHandleI] (2-thread-3) Deleting /Image:11
2012-01-18 14:02:00,321 INFO  [          ome.services.graphs.GraphState] (2-thread-3) Failed to process Image/Pixels: 11 due to ConstraintViolation: fkrenderingdef_pixels_pixels
2012-01-18 14:09:26,482 INFO  [   ome.services.blitz.impl.DeleteHandleI] (2-thread-4) Deleting /Image:11
2012-01-18 14:09:26,578 INFO  [          ome.services.graphs.GraphState] (2-thread-4) Failed to process Image/Pixels: 11 due to ConstraintViolation: fkrenderingdef_pixels_pixels
2012-01-18 14:18:08,343 INFO  [   ome.services.blitz.impl.DeleteHandleI] (2-thread-3) Deleting /Image:11
2012-01-18 14:18:08,753 INFO  [          ome.services.graphs.GraphState] (2-thread-3) Failed to process Image/Pixels: 11 due to ConstraintViolation: fkrenderingdef_pixels_pixels
2012-01-18 14:22:35,872 INFO  [   ome.services.blitz.impl.DeleteHandleI] (2-thread-3) Deleting /Image:11
2012-01-18 14:22:36,005 INFO  [          ome.services.graphs.GraphState] (2-thread-3) Failed to process Image/Pixels: 11 due to ConstraintViolation: fkrenderingdef_pixels_pixels

comment:3 Changed 12 years ago by jmoore

  • Sprint changed from 2012-01-31 (7) to 2012-02-14 (8)

Moved from sprint 2012-01-31 (7)

comment:4 Changed 12 years ago by jburel

  • Sprint changed from 2012-02-14 (8) to 2012-02-28 (9)

Moved from sprint 2012-02-14 (8)

comment:5 Changed 12 years ago by jmoore

  • Owner jmoore deleted
  • Status changed from accepted to new

comment:6 Changed 12 years ago by jburel

  • Sprint changed from 2012-02-28 (9) to 2012-03-13 (10)

Moved from sprint 2012-02-28 (9)

comment:7 Changed 12 years ago by jburel

  • Sprint changed from 2012-03-13 (10) to 2012-03-27 (11)

Moved from sprint 2012-03-13 (10)

comment:8 Changed 12 years ago by jburel

  • Sprint changed from 2012-03-27 (11) to 2012-04-10 (12)

Moved from sprint 2012-03-27 (11)

comment:9 Changed 12 years ago by jmoore

  • Remaining Time changed from 0.25 to 0
  • Resolution set to worksforme
  • Status changed from new to closed

I've just written a test for this (planned for my 2874-cmod branch). Issue seems to be taken care of. Closing WORKSFORME. If this appears again, please let me/us know.

comment:10 Changed 12 years ago by jmoore <josh@…>

  • Resolution changed from worksforme to fixed

(In [82273a04d3ce5e2f90d93732121663deeb282c7e/ome.git] on branch develop) Passing test for chgrp/delete (Close #7825)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.99894 sec.)

We're Hiring!