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 #2191 (closed)

Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

Indexer gets stuck on null return value

Reported by: jamoore Owned by: jamoore
Priority: critical Milestone: OMERO-Beta4.2
Component: Search Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2010-04-02 (6)

Description

Through some sequence of events (major bug?) there was no delete event log for a rendering def that was not present in my db:

42d1=# select * from eventlog where entityid = 901 and entitytype like '%Def';
   id   | action | permissions | entityid |           entitytype           | external_id | event 
--------+--------+-------------+----------+--------------------------------+-------------+-------
 208955 | INSERT |         -35 |      901 | ome.model.display.QuantumDef   |             | 20160
 208956 | INSERT |         -35 |      901 | ome.model.display.RenderingDef |             | 20160
 208960 | DELETE |         -35 |      901 | ome.model.display.RenderingDef |             | 20163
(3 rows)

42d1=# select * from RenderingDef where id = 901;
 id | compression | defaultt | defaultz | permissions | name | version | creation_id | external_id | group_id | owner_id | update_id | model | pixels | quantization 
----+-------------+----------+----------+-------------+------+---------+-------------+-------------+----------+----------+-----------+-------+--------+--------------
(0 rows)

42d1=# 

The indexer became completely stuck in this situation. Plan: print an error and purge (since the object does not exist)

Change History (3)

comment:1 Changed 14 years ago by jmoore

  • Owner set to jmoore
  • Status changed from new to assigned

comment:2 Changed 14 years ago by jmoore

  • Remaining Time set to 0
  • Resolution set to fixed
  • Status changed from assigned to closed

(In [6632]) fix #2191 - purge objects if null is returned by get()

comment:3 Changed 13 years ago by Carlos Neves <carlos@…>

(In [aaddb4772d41f6c17db7055c5a9ca5df807f3665/ome.git] on branch dev_4_1_custom) fix #2191 - purge objects if null is returned by get()

git-svn-id: file:///home/svn/omero/trunk@6632 05709c45-44f0-0310-885b-81a1db45b4a6

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.68524 sec.)

We're Hiring!