LucidDB / luciddb

DEFUNCT: See README
https://github.com/LucidDB/luciddb
Apache License 2.0
53 stars 24 forks source link

[FRG-231] loopback links cause unwanted reference count #641

Closed dynamobi-build closed 12 years ago

dynamobi-build commented 12 years ago

[reporter="jvs", created="Thu, 2 Nov 2006 00:02:59 -0500 (GMT-05:00)"] create server loopback_localdb
foreign data wrapper sys_jdbc
options(
    driver_class 'net.sf.farrago.jdbc.engine.FarragoJdbcEngineDriver',
    url 'jdbc:farrago:',
    user_name 'sa');

Do this in a running server, exit the client, and then try to !quit the server. It will say that there are still sessions running. The problem arises because we cache the foreign server connection in the code cache, and since it points to itself...

It's not a big deal since !kill will shut the server down properly as it flushes the code cache.

dynamobi-build commented 12 years ago

[author="jvs", created="Tue, 30 Jun 2009 17:23:49 -0500 (GMT-05:00)"] Stephan fixed this one a while back with some fancy footwork.