wojciech.kapcia@tigase.net opened 9 years ago
|
|
The issue was a result of changes done in #3374 - basically Stored Procedures aren't executed in transactions which may results in exceptions (especially in cluster mode). Similar thing was applicable to MySQL (v. #3175). It turned out that MS SQL driver has problems with handling enforced transactions in stored procedures which results in With jTDS driver I've run a couple of local tests, I've re-run both test scenarios that utilize pubsub and they pass without any issues/exceptions: In the end:
|
|
Changed ticket to private. Who is/can be affected by the issue and who can benefit from the solution? |
|
Artur Hefczyc wrote:
My bad - I thought I created the issue in Private project.
Currently only NextPlane - the fix was a result of their ticket. As far as I remember only CAR uses MS SQL Server with Tigase, however they were using different strategy which shouldn't result in same Exceptions that NP had. They switched to ClusteredNodeStrategy (pubsub) not long ago but we haven't had any report from them regarding possible Exceptions. Before making any recommendations I would like to have this configuration run against our load-cluster (e.g. http://graph.cluster-c.xmpp-test.net/2015-08-20/) against MS SQL Server with jTDS driver. |
|
What about CarNow? I think Zing Media can be affected as well. Do they use Sql Server as well? They reported some problems too as far as I remember.
Of course, we need to test it thoroughly. |
|
Artur Hefczyc wrote:
They use MySQL.
They opted to use jTDS for MS SQL. %kobit On that note and talking a bit about communication - we may want to collect basic installation details - version, database, driver in order to provide updates to the customers.
Could you change the load-cluster configuration accordingly (i.e. run it against MS SQL server with jTDS driver) and verify that it's working correctly? |
|
Load tests will be run using jtds driver beginning tonight. However, rosters won't be complete until tomorrow's tests. I'm running a vim macro to convert rosters written by DBGenerator.groovy into something acceptable by MSSQL. Won't be finished in time for tonight's test. |
|
can we modify groovy script to produce output compatible with MS SQL? I guess it doesn't like parenthesis in stored procedures invocations? |
|
Yes we can modify the groovy script. Also I was using isql client and it wants each query on a single line. |
Type |
Task
|
Priority |
Normal
|
Assignee | |
RedmineID |
3403
|
Spent time |
14h
|
vide:
http://build.tigase.org/nightlies/tests//files/static/tests/7.1.0-SNAPSHOT-b3980/func/mssql/functional-tests.html