db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Fox (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (TORQUE-163) Map builders are emptied on Torque.shutdown() and not rebuilt on subsequent init()
Date Wed, 06 Jul 2011 08:40:16 GMT

     [ https://issues.apache.org/jira/browse/TORQUE-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas Fox resolved TORQUE-163.
-------------------------------

       Resolution: Not A Problem
    Fix Version/s:     (was: 4.0)

This is not a problem as the Database maps are not emptied on shutdown either.
The only purpose of the map builders is to populate the database map, so if they remain it
is ok if the map builder cache is emptied.

> Map builders are emptied on Torque.shutdown() and not rebuilt on subsequent init()
> ----------------------------------------------------------------------------------
>
>                 Key: TORQUE-163
>                 URL: https://issues.apache.org/jira/browse/TORQUE-163
>             Project: Torque
>          Issue Type: Bug
>    Affects Versions: 3.3
>            Reporter: Thomas Fox
>            Assignee: Thomas Fox
>
> Problem: After a shutdown() and init() of Torque, the Map Builder cache entries which
have been present before shutdown are not present anymore after a new init.
> Analysis: If a Peer class is loaded, it registers its map builder and the MapBuilder
is built immediately or on Torque initialisation, depending on whether Torque is initialized
or not.
> On Torque.shutdown(), all known map builders are removed.
> On a new init(), these Map builders will not be rebuilt anew because the Peer class will
not be loaded a second time.
> Solution: The Map Builder cache entries should not be removed on Torque.shutdown()

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message