[
https://issues.apache.org/jira/browse/OODT-390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13229333#comment-13229333
]
[email protected] commented on OODT-390:
----------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4053/#review5949
-----------------------------------------------------------
Ship it!
- Ricky
On 2012-02-27 18:04:21, Paul Ramirez wrote:
bq.
bq. -----------------------------------------------------------
bq. This is an automatically generated e-mail. To reply, visit:
bq. https://reviews.apache.org/r/4053/
bq. -----------------------------------------------------------
bq.
bq. (Updated 2012-02-27 18:04:21)
bq.
bq.
bq. Review request for Chris Mattmann, brian Foster and Ricky Nguyen.
bq.
bq.
bq. Summary
bq. -------
bq.
bq. The optimize function can be time consuming depending on the size of the
index. It was externalized in the file manager as a tool for just this reason;
which can be reuse here for optimizing. This change then boils down to removing
the call to optimize every time a workflow instance was added to the
repository. In theory this could help speed things up for people using this
type of instance repository.
bq.
bq.
bq. This addresses bug OODT-390.
bq. https://issues.apache.org/jira/browse/OODT-390
bq.
bq.
bq. Diffs
bq. -----
bq.
bq.
http://svn.apache.org/repos/asf/oodt/trunk/workflow/src/main/java/org/apache/oodt/cas/workflow/instrepo/LuceneWorkflowInstanceRepository.java
1294242
bq.
bq. Diff: https://reviews.apache.org/r/4053/diff
bq.
bq.
bq. Testing
bq. -------
bq.
bq.
bq. Thanks,
bq.
bq. Paul
bq.
bq.
> Remove Embedded Optimize from Lucene Workflow Instance Repository
> -----------------------------------------------------------------
>
> Key: OODT-390
> URL: https://issues.apache.org/jira/browse/OODT-390
> Project: OODT
> Issue Type: Improvement
> Components: workflow manager
> Affects Versions: 0.3
> Reporter: Paul Ramirez
> Assignee: Paul Ramirez
> Fix For: 0.4
>
> Attachments: oodt-390-patch.txt
>
>
> Optimize should not be called in the internals of the instance repository for
> lucene. This functionality should be relegated to an external tool as was
> done with the lucene file manager catalog. That tool can actually be reused
> to optimize this index. Calling optimize on the index on each add could cause
> some performance issues and making this an external function should rectify
> that. If one is working in a system where they have large batches they should
> run the optimize tool when the see degradation or on a semi-regular basis.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira