On Thu, May 07, 2015 at 08:35:22AM -0400, Mark H. Wood wrote:
> I think 2147483647 or 9223372036854775807 is much more likely as the
> limit.

The suffix is generated by a DBMS SEQUENCE object.  In PostgreSQL,
handle_seq.max_value is the latter of the above.  (2**63 - 1: the
limit of an SQL BIGINT, or java.lang.Long.MAX_VALUE.)

However, HandleManager.createHandle(Context, DSpaceObject) uses
TableRow.getIntColumn to retrieve it, and this will throw
IllegalArgumentException when the value exceeds the former of the
above (2**31 - 1: java.lang.Integer.MAX_VALUE).

We should fix that.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to