DOCS: Add details for aged circulation

Bug #1717583 reported by Jeanette Lundgren
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Undecided
Unassigned

Bug Description

Adding details provided by Jason Stephenson from open-ils-general discussion on aging circulation into documentation...

-----Original Message-----
From: "Kathy Lussier" <email address hidden>
Sent: Friday, September 1, 2017 4:47pm
To: <email address hidden>
Subject: Re: [OPEN-ILS-GENERAL] Aged_Circulation

Hi Jim,
It's likely that this information is not available in the documentation, but if anyone has the inclination to essentially copy what Jason said into Asciidoc so that it can be included, I'm sure others would appreciate it!

Kathy

On 09/01/2017 05:41 PM, Jim Taylor wrote:
Thank you very much. This is very helpful. Wish I could have found it in the documentation and not bothered anyone. One day I will figure out how to find stuff in the documentation 😊
Jim

-----Original Message-----
 From: Open-ils-general [[ mailto:<email address hidden> ]( mailto:<email address hidden> )] On Behalf Of Jason Stephenson
 Sent: Friday, September 1, 2017 4:15 PM
 To: [ <email address hidden> ]( mailto:<email address hidden> )
 Subject: Re: [OPEN-ILS-GENERAL] Aged_Circulation

On 09/01/2017 04:50 PM, Jim Taylor wrote:
> Okay. Thanks.
>
> So there is no duplication? Everything in aged_circulation was once in
> circulation and is moved, not copied, to aged_circulation? It just
> loses some of the info? Or is it copied and everything in
> aged_circulation is still in circulation, assuming one hasn’t deleted
> rows in circulation?

There is no duplication. The action.aged_circulation is for statistical reporting while breaking the link to the patron who had the item checked out.

Circulations get moved under three circumstances in stock Evergreen:

1. A patron is deleted. This moves all of the patron's circulations from action.circulation to action.aged_circulation

2. A row or row(s) in action.circulation are deleted. The action.age_circ_on_delete trigger moves deleted action.circulations to action.aged_circulation.

3. The action.purge_circulations function is run. This function is meant to be run periodically to enforce patron privacy. It's behavior is controlled by two internal flags: history.circ.retention_age and history.circ.retention_count. The purge_circulations function is often run from cron via the purge_circulations.srfsh script. NOTE: This function will take a *long* time to run for the first time on a system that has had much activity. The srfsh script will likely time out before the database function finishes and nothing will get moved.

If you have not been doing 2 or 3, then the aged_circulation entries you see are likely because of 1.

You can delete rows from action.aged_circulation if you wish. Keep in mind that this could lead to the loss of statistical information depending on what reports you use.

HtH,
Jason

Changed in evergreen:
assignee: nobody → Jeanette Lundgren (jlundgren)
Revision history for this message
Jeanette Lundgren (jlundgren) wrote :

I modified an existing aged_circs.adoc placeholder file to add details and pushed branch to http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/jlundgren/docs-lp1717583_aged_circs

tags: added: pullrequest
Changed in evergreen:
assignee: Jeanette Lundgren (jlundgren) → nobody
status: New → Confirmed
Revision history for this message
Jane Sandberg (sandbergja) wrote :

Thanks to everybody who worked on this, particularly Jeanette for coordinating this effort. I signed off on this and added it to both master and rel_3_0.

Changed in evergreen:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.