634 Commits

Author SHA1 Message Date
Alex Huang
950b53eea9 more db connection controls through jmx 2011-07-19 09:27:09 -07:00
Alex Huang
6a27d11434 more db connection controls through jmx 2011-07-19 09:26:05 -07:00
Alex Huang
d54f6d536a propagating transaction isolation fix for merovingian2 2011-07-18 16:48:49 -07:00
Alex Huang
5590cd93ce bug 10716: Changed the connection's isolation level to allow for more concurrency 2011-07-18 16:32:12 -07:00
alena
a86f49c106 From Alex - assertion fix 2011-07-18 15:12:44 -07:00
Alex Huang
392c03ce6f propagated db connection savings from master 2011-07-18 14:22:49 -07:00
Alex Huang
e52a97b969 Switched ping to use the same db connection so that running out of db connections won't affect basic operations 2011-07-18 14:22:49 -07:00
Alex Huang
c097800dae connection conierge to deal with connections that are not returned to pools 2011-07-18 14:22:48 -07:00
Sheng Yang
d925aa32e5 bug 10714: Implement packet fragmentation
Also add an simple nio unit test.

status 10714: resolved fixed
2011-07-15 19:35:56 -07:00
Sheng Yang
7f8a0dad31 bug 10714: Implement packet fragmentation
Also add an simple nio unit test.

status 10714: resolved fixed
2011-07-15 19:22:48 -07:00
alena
3d41105e1b From Alex - assertion fix 2011-07-15 10:19:27 -07:00
Alex Huang
161b7f1cad Switched ping to use the same db connection so that running out of db connections won't affect basic operations 2011-07-14 10:48:07 -07:00
alena
1979d1d065 bug 10681: for serviceOfferings, diskOfferings, templates/isos return records with not null Removed field on findById method call
status 10681: resolved fixed

Conflicts:

	server/src/com/cloud/server/ManagementServerImpl.java
2011-07-13 18:25:13 -07:00
alena
25206e6257 bug 10681: for serviceOfferings, diskOfferings, templates/isos return records with not null Removed field on findById method call
status 10681: resolved fixed
2011-07-13 17:16:07 -07:00
Alex Huang
8ef86467ed more logging and fixed bug in cleanup 2011-07-13 09:53:38 -07:00
Alex Huang
b54edececf resolved a bug where the wrong msid was used in releasing locks 2011-07-13 09:52:35 -07:00
Alex Huang
5619f0490c added more locking logging 2011-07-13 09:29:38 -07:00
Sheng Yang
6d3e30f16c Move disconnect log to TRACE level 2011-07-11 11:09:19 -07:00
Sheng Yang
a2de0f60d5 Move disconnect log to TRACE level 2011-07-11 11:08:40 -07:00
Sheng Yang
6a23846a8d Fix keystore loading path 2011-07-11 10:59:42 -07:00
Sheng Yang
612f776892 Fix keystore loading path 2011-07-11 10:59:04 -07:00
Sheng Yang
ccc12793c6 SSL: Fix leaking file descriptor
And bad connection fail handling.
2011-07-08 22:17:09 -07:00
Sheng Yang
e8f317243f SSL: Fix leaking file descriptor
And bad connection fail handling.
2011-07-08 22:04:34 -07:00
Sheng Yang
0f09546d04 Fix Class cast issue 2011-07-08 20:34:12 -07:00
Sheng Yang
8ada2852bf Suppress connection error messages
Load balancers would trigger this error message again and again.. Put them in to
debug/trace level, instread of showing a calltrace.
2011-07-08 18:12:29 -07:00
Alex Huang
5b122e3669 connection conierge to deal with connections that are not returned to pools 2011-07-08 18:04:57 -07:00
Alex Huang
ea48d40e5f connection conierge to deal with connections that are not returned to pools 2011-07-08 18:04:57 -07:00
Alex Huang
ee2670edc7 Some operations on the lock table allowed through jmx 2011-07-06 16:10:18 -07:00
Alex Huang
7e9836dfd0 Some operations on the lock table allowed through jmx 2011-07-06 16:09:05 -07:00
Alex Huang
cabba35280 bug 10548: This problem is actually still a running out of db connection problem. However, it points out a weakness in the Merovingian2 design. It should keep a database connection for itself. I originally intended to have that after writing the first edition but got distracted and didn't finish. Here in the new implementation, Merovingian2 allocates a database connection for itself and keeps it alive at 10 second intervals with a SELECT 1 to avoid the connection being considered as abandoned by the dbcp pool. 2011-07-03 19:17:05 -07:00
Alex Huang
b45bc9449e bug 10548: This problem is actually still a running out of db connection problem. However, it points out a weakness in the Merovingian2 design. It should keep a database connection for itself. I originally intended to have that after writing the first edition but got distracted and didn't finish. Here in the new implementation, Merovingian2 allocates a database connection for itself and keeps it alive at 10 second intervals with a SELECT 1 to avoid the connection being considered as abandoned by the dbcp pool. 2011-07-03 19:16:24 -07:00
Alex Huang
f28a2b40a3 bug 10501: This is really Kelven's bug but I'll fix it for him anyways. DAO code already have a way to extract the DB connection from a transaction that is stored in the TLS. There's no real reason for the DAO code to add special semantics to use a different DB connection. That can be done by simply switching the transaction before it even reached the dao code. Think about it. Why would anyone want to call one dao function, switch transaction, and then switch back. The right thing is for the caller to switch transaction, call a series of dao codes, and switch it back. That's the semantics I changed to. By doing this, it also eliminates the number of debug messages in this bug. 2011-07-01 11:03:37 -07:00
Alex Huang
cfc25d01be bug 10501: This is really Kelven's bug but I'll fix it for him anyways. DAO code already have a way to extract the DB connection from a transaction that is stored in the TLS. There's no real reason for the DAO code to add special semantics to use a different DB connection. That can be done by simply switching the transaction before it even reached the dao code. Think about it. Why would anyone want to call one dao function, switch transaction, and then switch back. The right thing is for the caller to switch transaction, call a series of dao codes, and switch it back. That's the semantics I changed to. By doing this, it also eliminates the number of debug messages in this bug. 2011-07-01 11:03:12 -07:00
Alex Huang
43252dd4de bug 10322: Transaction is using the new Merovingian 2011-06-29 15:34:54 -07:00
Alex Huang
7a4af21f72 bug 10322: Transaction is using the new Merovingian 2011-06-29 15:34:53 -07:00
Alex Huang
d5b3fe4e35 bug 10322: Transaction is using the new Merovingian 2011-06-29 15:15:52 -07:00
Alex Huang
81213c2be2 bug 10322: Transaction is using the new Merovingian 2011-06-29 12:35:30 -07:00
Alex Huang
fefc798197 bug 10322: better mannered merovingians 2011-06-29 12:03:22 -07:00
Alex Huang
687e9f6e67 bug 10322: arrival of the next generation Merovingians 2011-06-29 12:03:05 -07:00
Alex Huang
27809e651e bug 10322: arrival of the next generation Merovingians 2011-06-29 12:02:53 -07:00
Alex Huang
e16a013335 bug 10322: better mannered merovingians 2011-06-29 12:01:43 -07:00
Alex Huang
2219269e83 bug 10322: arrival of the next generation Merovingians 2011-06-29 12:01:43 -07:00
Alex Huang
cbee5a6044 bug 10322: arrival of the next generation Merovingians 2011-06-29 12:01:43 -07:00
Kelven Yang
1edf772f92 bug 10480, 10494: NPE fix in VirtualMachineManagerImpl, move keystore upgrade sql to upgrade225to226.sql 2011-06-28 15:00:34 -07:00
Kelven Yang
0059dd0e57 bug 10480, 10494: NPE fix in VirtualMachineManagerImpl, move keystore upgrade sql to upgrade225to226.sql 2011-06-28 14:57:02 -07:00
Alex Huang
dc44a4fe6e more jmx stuff 2011-06-28 01:17:48 -07:00
Alex Huang
8903801193 more jmx stuff 2011-06-28 01:17:48 -07:00
Alex Huang
89269069f9 Added JMX to Transaction 2011-06-28 01:17:46 -07:00
Alex Huang
2f391d2b9d more jmx stuff 2011-06-28 01:17:10 -07:00
Alex Huang
90488eea7c more jmx stuff 2011-06-27 18:26:30 -07:00