Min Chen
|
248e4fbdac
|
CLOUDSTACK-7749: AsyncJob GC thread cannot purge queue items that have been blocking for too long if exception is thrown in expunging some unfinished or completed old jobs, this will make some future jobs stuck.
|
2014-10-17 10:43:59 -07:00 |
Min Chen
|
4317a85e97
|
CLOUDSTACK-7628:VM Worker job should be expunged one hour after
completion instead of currently being expunged whenever cleanup task
thread is run.
|
2014-09-24 17:27:39 -07:00 |
Koushik Das
|
a6ee4112a5
|
CLOUDSTACK-7595: Config parameters "job.expire.minutes" and "job.cancel.threshold.minutes" incorrectly getting multiplied by a factor of 60
Removed the unnecessary multiply factor for both the config parameters. Also removed the duplicate entries from Config.java as these are not required
|
2014-09-22 16:45:37 +05:30 |
Min Chen
|
7cdb67dcf1
|
CLOUDSTACK-7589: VM not Starting and always stuck in Stopped state after
management server restarts.
|
2014-09-19 15:12:31 -07:00 |
Anthony Xu
|
e5a91e40dd
|
in tagCommand, AsyncJobExecutionContext doesn't need to be created if it doesn't exist
|
2014-09-17 18:15:41 -07:00 |
Min Chen
|
a2d85c8cae
|
CLOUDSTACK-7566:Many jobs getting stuck in pending state and cloud is
unusable.
|
2014-09-16 15:14:08 -07:00 |
Hugo Trippaers
|
dc3f0cbc63
|
Improve the handling of the findbug exclude files
|
2014-09-03 10:41:22 +02:00 |
Anthony Xu
|
90fe6d8087
|
removed trailing space
|
2014-08-13 11:09:38 -07:00 |
Min Chen
|
3b32732459
|
CLOUDSTACK-7162:queryAsyncJobResult api does not return jobinstanceid.
|
2014-07-22 09:47:59 -07:00 |
Hugo Trippaers
|
0c28f36ff1
|
Fix a number of resource leaks reported by Coverity
|
2014-06-13 14:42:35 +02:00 |
Marcus Sorensen
|
20a31b43d6
|
CLOUDSTACK-6784: Expose data types via API so consumers of API can validate data
|
2014-05-27 15:23:23 -06:00 |
Marcus Sorensen
|
2a5bf65c78
|
CLOUDSTACK-6785: Allow async jobs to supply an injectedjobid
|
2014-05-27 15:23:02 -06:00 |
Kelven Yang
|
09ec127470
|
CLOUDSTACK-6743: Use edge-triggering in MessageDetector to handle bogus wakeup gracefully. Level triggering plus bogus wakeup can cause a tight loop to spin
|
2014-05-21 16:17:39 -07:00 |
Murali Reddy
|
6f2a193b7c
|
CLOUDSTACK-6720: Async job events are not published on event bus
fix ensures publishOnEventBus() is called on submit, update, complete
phase of job procesing
|
2014-05-20 17:13:58 +05:30 |
Kelven Yang
|
521ac796dd
|
Move EventBus hookup on job framework to ApiServer to decouple job framework away from business logic related hookups. The decoupling is done through internal messaging facility provided inside management server.
|
2014-05-06 15:48:22 -07:00 |
Kelven Yang
|
cd8801f6f7
|
Do app-level iteration to avoid mysql deadlocks
|
2014-04-02 15:46:50 -07:00 |
Kelven Yang
|
66486d4322
|
BUG-ID: CS-19697: Deal with possible DB deadlock issue, return the job into queue for next turn
|
2014-04-02 14:59:04 -07:00 |
Daan Hoogland
|
8b62b2cb92
|
findbugs: exclude known spiffy hacks a.k.a. false positives
|
2014-03-28 14:28:10 +01:00 |
Kelven Yang
|
ec01791936
|
Fix the missing java imports from automatic merge
|
2014-03-14 14:22:23 -07:00 |
Kelven Yang
|
12f7cbcb76
|
Deal with concurrent state update for VM and Host objects.
|
2014-03-14 14:07:39 -07:00 |
Hugo Trippaers
|
4402685e11
|
Update master to 4.5.0-SNAPSHOT
|
2014-03-14 14:55:26 +01:00 |
Kelven Yang
|
5310e66f30
|
Do not use row lock in sync-queue scheduling to work around mysql locking issues.
|
2014-03-13 16:59:56 -07:00 |
Kelven Yang
|
8e27120be4
|
Seperate job executor pools to avoid thread starvation situation.
|
2014-03-13 16:59:56 -07:00 |
Alena Prokharchyk
|
90c485e5d6
|
Fixed some problems reported by FindBugs
|
2014-03-13 13:45:30 -07:00 |
Kelven Yang
|
5dd4fb22ef
|
Remove cancelled jobs from job monitoring, correct mis-calculated time-unit in job cancellation.
|
2014-03-03 17:44:58 -08:00 |
Kelven Yang
|
b21662f890
|
make sure XS report VM state even if there is no running VM on the host.
|
2014-02-28 15:35:59 -08:00 |
Kelven Yang
|
537bf7ced1
|
add job path to help associate an API job to related internal job. Reviewed-By: Self
|
2014-02-28 15:35:59 -08:00 |
Kelven Yang
|
a8c9238d3d
|
CLOUDSTACK-6065: Fix NPE problem caused by the lack of context setup in threads from agent manager thread pool
|
2014-02-28 15:35:59 -08:00 |
Kelven Yang
|
441be43b8c
|
CLOUDSTACK-5358: Bring back concurrency control in sync-queue management
|
2014-02-28 15:35:57 -08:00 |
Kelven Yang
|
a9733b5df2
|
CLOUDSTACK-5731: Use general instance type to categorize VM work jobs to correctly serialize VM operations
|
2014-01-17 11:55:14 -08:00 |
Kelven Yang
|
14e399410b
|
CLOUDSTACK-5696: fix a regression caused by out-of-band sync changes
|
2014-01-15 16:22:27 -08:00 |
Kelven Yang
|
a05d71a80c
|
CLOUDSTACK-5752: Use pesudo job context when API dispather directly calls into orchestration flow
|
2014-01-09 14:29:13 -08:00 |
Kelven Yang
|
87381d4236
|
CLOUDSTACK-5725: put origin flow context id into log4j context prefix to link jobs with the orchestration work flow in logging
|
2014-01-09 14:29:12 -08:00 |
Kelven Yang
|
69f49839d3
|
CLOUDSTACK-5726: Using runtime discovered dao (in AsyncJobManagerImpl.submitAsyncJob) to persist record has a problem to locate the right DAO instance, it causes corrupted field value be stored in database. Put in a work-around fix first to always initialize record fields in all cases
|
2014-01-09 14:29:12 -08:00 |
Kelven Yang
|
832c8e4728
|
CLOUDSTACK-5669: Always retrieve the most recent job result in OutComeImpl
|
2014-01-09 14:29:12 -08:00 |
Kelven Yang
|
bf9a554522
|
CLOUDSTACK-669: covert VMsnapshot orchestration flows to make them be serialized with other VM operations
|
2014-01-09 14:29:12 -08:00 |
Kelven Yang
|
3c965d0685
|
CLOUDSTACK-669: convert volume attach/detach flows to make them be serialized with other VM operations
|
2013-12-18 16:14:07 -08:00 |
Alex Huang
|
be5e5cc641
|
All Checkstyle problems corrected
|
2013-12-12 12:26:07 -08:00 |
Kelven Yang
|
26c1ba296c
|
CLOUDSTACK-669: put user vm work under new vmsync model
|
2013-12-11 16:29:59 -08:00 |
Alex Huang
|
433a631916
|
Reformat of source code to set a stable base for the future. I couldn't get checkstyle enabled. There's still about a thousand errors from checkstyle. Most of it from length errors from comments and strings. Will attempt to remove those tonight. This change is so large I just want to get it in before any merge nightmares. The changes are fairly minor though and I did a full compile and start a server with the reformat code.
|
2013-11-21 07:56:47 -08:00 |
Hugo Trippaers
|
cf715ff491
|
Bump 4.3.0 to 4.4.0 in master
|
2013-11-21 16:01:15 +01:00 |
Alex Huang
|
d620df2bdd
|
Reformatted all of the code.
|
2013-11-21 06:15:26 -08:00 |
Alex Huang
|
224f479974
|
Removed trailing spaces
|
2013-11-21 04:08:01 -08:00 |
Alex Huang
|
e4b22d0fca
|
Replace all tabs, particularly the ones in the comments
|
2013-11-21 03:39:58 -08:00 |
Kelven Yang
|
278ef81a83
|
side-by-side VM sync management at manager level
|
2013-11-20 17:59:38 -08:00 |
Alex Huang
|
8d62744681
|
Reformat all source code. Added checkstyle to check the source code
|
2013-11-20 07:26:53 -08:00 |
Kelven Yang
|
191dc80fa4
|
VM power state for job oritented sync processing
|
2013-11-05 19:00:37 -08:00 |
Darren Shepherd
|
1460196496
|
Centralize loading of db.properties to one place
There is now a method DbProperites.getDbProperties() that will load the
db.properties in one place and do the proper decryption of values if needed
|
2013-10-30 17:03:13 -07:00 |
Laszlo Hornyak
|
dbaa818d1e
|
InputStream use fix
Closes the FileInputStream opened at configuration in
- ClusterManagerImpl
- ClusterServiceServletAdapter
- TransactionLegacy
- AsyncJobManagerImpl
- DBEncryptionUtil
- EncryptionSecretKeyChecker
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
|
2013-10-26 17:47:34 +02:00 |
Darren Shepherd
|
e3280bdba2
|
Merge remote-tracking branch 'origin/spring-modularization'
Conflicts:
client/tomcatconf/applicationContext.xml.in
client/tomcatconf/nonossComponentContext.xml.in
client/tomcatconf/simulatorComponentContext.xml.in
framework/db/src/com/cloud/utils/db/Transaction.java
plugins/hypervisors/simulator/src/com/cloud/agent/manager/MockAgentManagerImpl.java
server/src/com/cloud/api/ApiServer.java
server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java
|
2013-10-23 11:14:42 -07:00 |