Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  •  new fields queue_size and queue_size_limit are added  (first determines how many jobs are being processed at the moment, second - the max number of jobs that can be processed at the same time). The default value for queue_size is 0. Field queue_size_limit is 1 for  all jobs other than createSnapshot. For createSnapshot its determined by concurrent.snapshots.threshold.perhost.
  • removed field last_updated . Before the feature, this field used to tell Async Manager that there the queue is ready for the new item to process. Now this decision is made based on queue_size < queue_size_limit condition.removed field queue_proc_msid. This field was never used in the code, and as now the same queue can have items processed by different management servers, we always refer to sync_queue_item.queue_proc_msid when need to figure out which management server is processing the job.
  • removed queue_proc_time field. As before we could only process one queue item at at time, and after the change it can be more than one, this field was moved to sync_queue_item table.

...