You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by "Jonathan Purvis (JIRA)" <ji...@apache.org> on 2008/09/29 21:56:44 UTC
[jira] Created: (TORQUE-117) Stopping IDBroker does not clear the
cached ids
Stopping IDBroker does not clear the cached ids
-----------------------------------------------
Key: TORQUE-117
URL: https://issues.apache.org/jira/browse/TORQUE-117
Project: Torque
Issue Type: Bug
Components: Runtime
Affects Versions: 3.3
Reporter: Jonathan Purvis
The IDBroker.stop() method does not clear the cached ids. This means that if Torque is then restarted with a different database, the ids generated will be wrong. One way to solve this is to add these lines to IDBroker.stop():
ids.clear();
quantityStore.clear();
lastQueryTime.clear();
There is probably a better way of doing this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org