Skip to content

Conversation

@jpulleman
Copy link
Contributor

@jpulleman jpulleman commented Feb 16, 2018

  • Fixed an issue with “Queued” actions remaining in the “Open” actions tab.

  • Fixed an issue with the process number of the QueuedAction not updating correctly.

  • Fixed an issue with the process number of the QueuedAction resetting to “0” after the action was successfully processed.

  • Removed Queue monitor information from QueueOverview page.
    o Queue monitor information did not refresh regularly quickly causing the information to become outdated. Unfortunately implementing refresh behavior did not appear to be easily possible.
    o Queue monitor information draws data from the underlying Java threads. The numbers did not always line-up with the information available in the QueueOverview page. This was confusing.
    o The fixes in the QueuedOverview page make the monitor even less relevant as the same information can now be drawn quite easily from the overview page itself.

  • Completely replaced retry mechanism that ensures FIFO ordering of the queues by implementing a pre-processing mechanism.
    o This should result in much less error-prone handling of records that are not yet available for processing due to a slight delay between committing in a microflow (i.e. in one thread) and being able to retrieve the record from the database in another thread.
    o It should process large amounts of queued actions (added at once) quicker and more reliably as records that cannot be found in the database will no longer delay the entire pre-processing of queued actions.

  • Removed while loop in ObjectQueueExecutor Java action that might have caused a queue to “hang”. An error will now be printed to the log instead.

  • Added scheduled event SE_ReinitializeQueues
    o When you run into a situation where one or more queues appear to hang for long periods of time, reinitializing the queue(s) can be a workaround to get them to start executing actions again.
    By default this scheduled event runs once an hour.

  • Removed full retry mechanism and replaced by preprocessing of actions before appending them to the queue.

  • Made a few changes to the _QueueAppenderThread functionality (Java) so restarting the thread is now possible.

The preprocessing functionality should resolve the issue of "stuck" queued actions, which should resolve the following ticket:

  • 59141 (this has been beta tested for >1 month with success by the ticket caller)

The above changes also resolve the Mx7.7+ context issue. So this should resolve the following tickets:

  • 59621
  • 59394
  • 61702

Will release the above as version 4.1 to the AppStore (release package included).

Version 4.1.1

- Merged Jasper's Java changes (logging) from jun-2018
- Fixed thread leak when calling InitializeQueue.java
- Improved memory management of the module due to differing behavior of IContext in Mx7 vs Mx6
- Fixed if check in FindCreateProcess microflow (already reported as an issue and in another pull request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant