jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
Continuum
  • Continuum
  • CONTINUUM-476

jdo model improvements

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: Core system, Database
  • Labels:
    None
  • Complexity:
    Intermediate
  • Number of attachments :
    0

Description

some notes I sent to the dev list earlier in the year

There are afew areas I'm still not happy with. The fetch groups don't
seem to fit well with what is required a lot of the time. I'm wondering
whether we are better off making everything be in the default fetch
group, and lazy loading the lists instead. It seems since we are only
doing this as an optimization that'd be a better way to do it.

We'd still need to avoid long lists, ie build results. I think that
should not be a field on the project, and instead it should just have
references to the last successful build, last finished build, current
build (either in progress or finished).

I'm not particularly happy with using store methods "mid-way" through a
block of code. I'm not sure if it does any dirty checking when you do a
re-attach,but I see potential to read something, have it changed
externally, then write over the top of it. The fact that we are
re-retrieving from the db at random points could make this harder to
track. I think we should be in the practise of getting all we need from
the db at the start, modifying the detached objects, then updating them
with dirty check at the end. We need to be able to resolve common cases
where we can recover, and fail gracefully when it can't. At the end of
the day, this isn't preventing it working now, so I'll just schedule a
review of the use of the store later as it may be a source of ongoing
bugs otherwise.

Issue Links

relates to

Improvement - An improvement or enhancement to an existing feature or task. CONTINUUM-448 improve performance of "show projects" page

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity

People

  • Assignee:
    Brett Porter
    Reporter:
    Brett Porter
Vote (0)
Watch (0)

Dates

  • Created:
    26/Nov/05 11:35 PM
    Updated:
    22/Apr/09 10:49 AM
    Resolved:
    22/Apr/09 10:49 AM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.