It's all about the answers!

Ask a question

Will RTC 5.0.2 server support work item # count over 1 million?


Michael Stucchi (1368) | asked May 13 '15, 10:49 a.m.
JAZZ DEVELOPER
edited May 13 '15, 10:50 a.m.
We have a RTC 5.0.2 server which is at WI # count 917991. If we add another 83k work items will the system handle over 1 million work items?   If not, how should we proceed?

Accepted answer


permanent link
Ralph Schoon (63.5k33646) | answered May 13 '15, 10:55 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I think the work item ID is an integer so if it is a signed int your max is 2147483647 see
http://en.wikipedia.org/wiki/2147483647
Michael Stucchi selected this answer as the correct answer

Comments
Michael Stucchi commented May 13 '15, 11:00 a.m.
JAZZ DEVELOPER

Ralph, can you confirm the work item ID is a signed integer?  Thanks in advance, Mike.


Ralph Schoon commented May 13 '15, 11:11 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Here the API:

    /*
     * Returns the work item with the given id or null if not found
     * 
     * @param id the id
     * @param profile the profile of the returned work item
     * @param monitor a progress monitor or null
     * @return the work item with the given profile
     * @throws TeamRepositoryException if anything goes wrong,
     *  and {@link PermissionDeniedException} if the
     *  authenticated user's privileges are not sufficient
     * @see IWorkItem#getId()
     /
    IWorkItem findWorkItemById(int id, ItemProfile<iworkitem> profile, IProgressMonitor monitor) throws TeamRepositoryException;

The ID is also a key in the DB. Which is at least 32bit. MAXINT in Java is: 2^31-1 which is 2147483647 and what the API can handle today. That is half that fits into 32 bit. there is no unsigned int in Java.


Michael Stucchi commented May 13 '15, 11:13 a.m.
JAZZ DEVELOPER

Thanks Ralph for your work on this.    The customer appreciates your quick response.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.