Task #1390 (closed)
Opened 15 years ago
Closed 9 years ago
Search : bridges miss updates.
Reported by: | jamoore | Owned by: | jamoore |
---|---|---|---|
Priority: | critical | Milestone: | 5.1.1 |
Component: | Search | Version: | 3.0-M1 |
Keywords: | n.a. | Cc: | carlos@…, jburel |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description (last modified by jmoore)
With moderately sophisticated SearchBridges which walk the graph adding various objects to the backlog for re-indexing, there is a possibility that some changes will go missed.
Even the default bridge which indexes annotations along with the annotated objects misses updates:
- Image created with annotation
- Image is indexed with annotation
- Annotation is modified
- Only annotation index is updated
Currently, for performance reasons all annotated objects are not searched for when an annotation is modified, but it will need to be. A workaround is to also modify the annotated object when saving the annotation:
// pseudo-code image.setVersion( image.getVersion() + 1 )
See also #1386
Change History (7)
comment:1 Changed 15 years ago by jmoore
- Description modified (diff)
- Milestone changed from OMERO-Beta4.1 to OMERO-Beta4.2
comment:2 Changed 15 years ago by jmoore
- Milestone changed from OMERO-Beta4.2 to Unscheduled
comment:3 Changed 15 years ago by jmoore
- Description modified (diff)
- Priority changed from major to critical
- Summary changed from Complicated bridges can miss updates due to backlog to Search : bridges miss updates.
- Type changed from User Story to defect
comment:4 Changed 15 years ago by jmoore
- Type changed from Bug to Task
comment:5 Changed 14 years ago by jmoore
comment:6 Changed 14 years ago by jburel
- Cc jburel added
comment:7 Changed 9 years ago by jamoore
- Milestone changed from Unscheduled to 5.1.1
- Resolution set to fixed
- Status changed from new to closed
This was all fixed via triggers some time ago.
(In [7323]) Adding new sequences and triggers to 4.2 DB. (See #1390, #2508)