Add exception when FbConnectionPoolManager.ClearPools used inapropriately
-------------------------------------------------------------------------

                 Key: DNET-638
                 URL: http://tracker.firebirdsql.org/browse/DNET-638
             Project: .NET Data provider
          Issue Type: Improvement
          Components: ADO.NET Provider
    Affects Versions: vNext
            Reporter: Hennadii Zabula
            Assignee: Jiri Cincura


We had run in a problem where currently running queries were failing because 
another thread wrongly cleared all pools. It was quite unexpected.

We fixed the issue in our code with the thread, but I think it should throw 
InvalidOperationException if _busy dictionary is not empty, because it means 
that there may be currently running queries.

The exception could add information about the problems caused by an 
inappropriate call to ClearPool.


-- 
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

        

------------------------------------------------------------------------------
Full-scale, agent-less Infrastructure Monitoring from a single dashboard
Integrate with 40+ ManageEngine ITSM Solutions for complete visibility
Physical-Virtual-Cloud Infrastructure monitoring from one console
Real user monitoring with APM Insights and performance trend reports 
Learn More http://pubads.g.doubleclick.net/gampad/clk?id=247754911&iu=/4140
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to