Monitoring tables return incomplete information in SC/CS configurations
-----------------------------------------------------------------------

                 Key: CORE-4176
                 URL: http://tracker.firebirdsql.org/browse/CORE-4176
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 3.0 Alpha 1
         Environment: Classic/SuperClassic (SharedDatabase = true)
            Reporter: Dmitry Yemanov


When MON$ tables are queried the first time, only information for the current 
connection is returned. If some other connection in turn queries MON$ then it 
gets information for both connections. After that, the first connection also 
gets full information. And so on.

Simplified test case:

isql #1
SQL> connect 'test';
Database:  'test', User: dimitr

isql #2
SQL> connect 'test';
Database:  'test', User: dimitr

isql #1
SQL> select count(*) from mon$attachments;

       COUNT
============
           1

isql #2
SQL> select count(*) from mon$attachments;

       COUNT
============
           2

isql #1
SQL> commit;
SQL> select count(*) from mon$attachments;

       COUNT
============
           2


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to