RE: Scarab ID_COUNT

FRED.YY.LIN 林宥延 <[email protected]> Wed, 23 Jun 2010 09:30:49 +0800
Newsgroups gmane.comp.java.scarab.user
Message-ID <[email protected]>
-----Original Message-----
From: Martin Lacok [mailto:[email protected]]=20
Sent: Tuesday, June 22, 2010 10:01 PM
To: [email protected]
Subject: RE: Scarab ID_COUNT

Hi all,

> I recognised the incident with ID_Count 'skipping' after the MySQL restar=
t as well. So far I could not find a reason for that.

modify Torque.properties in the folder WEB-INF\conf to add the configuratio=
n settings.

# Determines if IDBroker should prefetch IDs or not.  If set to false
# this property has the effect of shutting off the housekeeping thread
# that attempts to prefetch the id's.  It also sets the # of id's grabbed
# per request to 1 regardless of the settings in the database.
# Default: true
torque.idbroker.prefetch=3Dfalse=20


>Further I have found a second incident on the ID_count. When I built a DB =
in 0.21 some of the ID counts are -1 and seem to be duplicates of a 'real' =
ID=20
>count e.g. 192. I never realized this before when I used the DB built in 0=
.20.

>Could someone please explain this behaviour to me, eventually how to preve=
nt it?

>THX a lot
>Martin

------------------------------------------------------
http://scarab.tigris.org/ds/viewMessage.do?dsForumId=3D456&dsMessageId=3D26=
24598

To unsubscribe from this discussion, e-mail: [[email protected]=
is.org].

***************************************************************************=
**********************************************
This email message, including any attachments, is for the sole use of the i=
ntended recipient(s) and may contain confidential and privileged informatio=
n. Any unauthorized review, use, disclosure or distribution is prohibited. =
If you are not the intended recipient, please contact the sender by reply e=
-mail and destroy all copies of the original message. [Delta Electronic, IN=
C. Taiwan]
***************************************************************************=
**********************************************

------------------------------------------------------
http://scarab.tigris.org/ds/viewMessage.do?dsForumId=3D456&dsMessageId=3D26=
24736

To unsubscribe from this discussion, e-mail: [[email protected]=
is.org].