Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Developers Meeting on Weds, March 27, 2019

 

Info
titleToday's Meeting Times

Agenda

Quick Reminders

Friendly reminders of upcoming meetings, discussions etc

...

  1. (Ongoing Topic) DSpace 7 Status Updates for this week (from DSpace 7 Working Group)

  2. (Ongoing Topic) DSpace 6.x Status Updates for this week

    1. 6.4 will surely happen at some point, but no definitive plan or schedule at this time.  Please continue to help move forward / merge PRs into the dspace-6.x branch, and we can continue to monitor when a 6.4 release makes sense.
  3. Upgrading Solr Server for DSpace (Mark H. Wood )
    1. PR https://github.com/DSpace/DSpace/pull/2058
    2. Auto-reindexing in Solr
      Jira
      serverDuraSpace JIRA
      serverIdc815ca92-fd23-34c2-8fe3-956808caf8c5
      keyDS-3658

      1. Should this only happen for major releases?  Should it be configurable?
    3. Docker configuration for external Solr
      1. https://github.com/Georgetown-University-Libraries/DSpace/commit/7115173d61776dd2455690518f5c9809cd0f28d4
        1. The Dockerfile creates a new solr instance with 4 cores.  It then overlays the schema and config changes in PR 2058.
        2. I attempted to create my branch so that I could create a PR back to Mark's branch, but some other changes from master seem to be showing up if I create a PR.
      2. This will need a small change to our docker compose files to invoke the external solr service. https://github.com/DSpace-Labs/DSpace-Docker-Images/pull/79
  4. DSpace Backend as One Webapp (Tim Donohue )
    1. PR: https://github.com/DSpace/DSpace/pull/2265 (PR is finalized & ready for review)
    2. A follow-up PR will rename the "dspace-spring-rest" module to "dspace-server", and update all URL configurations (e.g. "dspace.server.url" will replace "dspace.url", "dspace.restUrl", "dspace.baseUrl", etc)
  5. DSpace Docker and Cloud Deployment Goals (Terrence W Brady )
    1. Passing environment variables to Docker

      1. https://github.com/DSpace/DSpace/pull/2373
      2. https://github.com/DSpace-Labs/DSpace-Docker-Images/pull/97
      3. https://github.com/DSpace-Labs/DSpace-Docker-Images/pull/98 (adds Sword overrides)
    2. Creating default AIP dataset for DSpace 7 docker load

      1. Tim shared a link to the entities WG dataset.  This dataset contains no bitstreams.  How should we handle this for the AIP's?
      2. https://github.com/DSpace-Labs/DSpace-Docker-Images/pull/95
    3. Update sequences on initialization

      1. https://github.com/DSpace/DSpace/pull/2362 - update sequences port

      2. https://github.com/DSpace/DSpace/pull/2361  - update sequences port

    4. Add Docker build/push to Travis
      1. We can revisit this after Docker is more widely adopted by DSpace developers.  We can decide if travis is the right place to solve this.
      2. https://github.com/DSpace/DSpace/pull/2308
  6. Brainstorms / ideas (Any quick updates to report?)
    1. (On Hold, pending Steering/Leadership approval) Follow-up on "DSpace Top GitHub Contributors" site (Tim Donohue ): https://tdonohue.github.io/top-contributors/
    2. Bulk Operations Support Enhancements (from Mark H. Wood)
    3. Curation System Needs (from Terrence W Brady  )
  7. Tickets, Pull Requests or Email threads/discussions requiring more attention? (Please feel free to add any you wish to discuss under this topic)
    1. Quick Win PRs: https://github.com/DSpace/DSpace/pulls?q=is%3Aopen+review%3Aapproved+label%3A%22quick+win%22

Tabled Topics

These topics are ones we've touched on in the past and likely need to revisit (with other interested parties). If a topic below is of interest to you, say something and we'll promote it to an agenda topic!

  1. Management of database connections for DSpace going forward (7.0 and beyond). What behavior is ideal? Also see notes at DSpace Database Access
    1. In DSpace 5, each "Context" established a new DB connection. Context then committed or aborted the connection after it was done (based on results of that request).  Context could also be shared between methods if a single transaction needed to perform actions across multiple methods.
    2. In DSpace 6, Hibernate manages the DB connection pool.  Each thread grabs a Connection from the pool. This means two Context objects could use the same Connection (if they are in the same thread). In other words, code can no longer assume each new Context() is treated as a new database transaction.
      1. Should we be making use of SessionFactory.openSession() for READ-ONLY Contexts (or any change of Context state) to ensure we are creating a new Connection (and not simply modifying the state of an existing one)?  Currently we always use SessionFactory.getCurrentSession() in HibernateDBConnection, which doesn't guarantee a new connection: https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-api/src/main/java/org/dspace/core/HibernateDBConnection.java
    3. Bulk operations, such as loading batches of items or doing mass updates, have another issue:  transaction size and lifetime.  Operating on 1 000 000 items in a single transaction can cause enormous cache bloat, or even exhaust the heap.
      1. Bulk loading should be broken down by committing a modestly-sized batch and opening a new transaction at frequent intervals.  (A consequence of this design is that the operation must leave enough information to restart it without re-adding work already committed, should the operation fail or be prematurely terminated by the user.  The SAF importer is a good example.)
      2. Mass updates need two different transaction lifetimes:  a query which generates the list of objects on which to operate, which lasts throughout the update; and the update queries, which should be committed frequently as above.  This requires two transactions, so that the updates can be committed without ending the long-running query that tells us what to update.


Ticket Summaries

  1. Help us test / code review! These are tickets needing code review/testing and flagged for a future release (ordered by release & priority)

    Expand

    Jira
    serverDuraSpace JIRA
    columnskey,summary,type,created,updated,assignee,reporter,priority,status,fixversions
    maximumIssues20
    jqlQueryfilter=13905 ORDER BY fixVersion DESC, priority DESC
    serverIdc815ca92-fd23-34c2-8fe3-956808caf8c5


  2. Newly created tickets this week:

    Expand
    Jira
    serverDuraSpace JIRA
    columnskey,summary,type,created,assignee,reporter,priority,status
    maximumIssues20
    jqlQueryfilter=13902
    serverIdc815ca92-fd23-34c2-8fe3-956808caf8c5


  3. Old, unresolved tickets with activity this week:

    Expand

    Jira
    serverDuraSpace JIRA
    columnskey,summary,type,created,updated,assignee,reporter,priority,status
    maximumIssues20
    jqlQueryfilter=13906
    serverIdc815ca92-fd23-34c2-8fe3-956808caf8c5


  4. Tickets resolved this week:

    Expand

    Jira
    serverDuraSpace JIRA
    columnskey,summary,type,created,assignee,reporter,priority,status,resolution
    maximumIssues20
    jqlQueryfilter=13903
    serverIdc815ca92-fd23-34c2-8fe3-956808caf8c5


  5. Tickets requiring review. This is the JIRA Backlog of "Received" tickets: 

    Expand

    Jira
    serverDuraSpace JIRA
    columnskey,summary,type,created,updated,assignee,reporter,priority
    maximumIssues20
    jqlQueryfilter=10152
    serverIdc815ca92-fd23-34c2-8fe3-956808caf8c5


Meeting Notes

Meeting Transcript 

Code Block
titleLog from #dev-mtg Slack (All times are CDT)
linenumberstrue

...