Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » scheduling rules in synchronization jobs
scheduling rules in synchronization jobs [message #57669] Thu, 11 September 2008 21:47 Go to next message
Klaus Wenger is currently offline Klaus WengerFriend
Messages: 31
Registered: July 2009
Member
hello mylyn community,

i am in the process of creating a mylyn connector for our commercial change
management system. the SDK provided by that system requires each access to
one specific server instance to be queued. the already existing eclipse
feature for that system uses job scheduling rules to that means. those rules
use the server instance as mutex. since different task repositories in our
connector may target the same server, using those scheduling rules for all
jobs is paramount to avoid deadlocks. mylyn synchronize jobs use their own
flavor of a rule in which the task repository becomes the mutex.

my question is now: could the ISynchronizationSession be extended or other
entry points be provided in for instance
org.eclipse.mylyn.tasks.core.AbstractRepositoryConnector#pre Synchronization(org.eclipse.mylyn.tasks.core.sync.ISynchroni zationSession,
org.eclipse.core.runtime.IProgressMonitor) to override/extend the rule to be
used by the synchronization job(s). basically all jobs needed to be
scheduled by rule in our environment ... query, task ...

many thanks for your feedback in advance,

klaus
Re: scheduling rules in synchronization jobs [message #57804 is a reply to message #57669] Tue, 16 September 2008 23:04 Go to previous messageGo to next message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
Hi Klaus,

your use-case have not come up before. I would suggest to file an
enhancement request in the Mylyn Bugzilla:

http://www.eclipse.org/mylyn/bugs/

Generally development related questions are best directed at the mylyn-dev
or mylyn-integrators mailing list:

http://www.eclipse.org/mylyn/community/

Steffen


Klaus Wenger wrote:

> hello mylyn community,
>
> i am in the process of creating a mylyn connector for our commercial
> change management system. the SDK provided by that system requires each
> access to one specific server instance to be queued. the already existing
> eclipse feature for that system uses job scheduling rules to that means.
> those rules use the server instance as mutex. since different task
> repositories in our connector may target the same server, using those
> scheduling rules for all jobs is paramount to avoid deadlocks. mylyn
> synchronize jobs use their own flavor of a rule in which the task
> repository becomes the mutex.
>
> my question is now: could the ISynchronizationSession be extended or other
> entry points be provided in for instance
>
org.eclipse.mylyn.tasks.core.AbstractRepositoryConnector#pre Synchronization(org.eclipse.mylyn.tasks.core.sync.ISynchroni zationSession,
> org.eclipse.core.runtime.IProgressMonitor) to override/extend the rule to
> be used by the synchronization job(s). basically all jobs needed to be
> scheduled by rule in our environment ... query, task ...
>
> many thanks for your feedback in advance,
>
> klaus
Re: scheduling rules in synchronization jobs [message #58205 is a reply to message #57804] Mon, 22 September 2008 21:30 Go to previous message
Klaus Wenger is currently offline Klaus WengerFriend
Messages: 31
Registered: July 2009
Member
thank you, steffen!

i just filed bug # 248199
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=248199) and hope it is what
you had in mind. the scheduling rule extension would really help me avoiding
deadlocks in the command-queue of our SDK or peppering my code with
synchronize-blocks.

all the best,

k


"Steffen Pingel" <steffen.pingel@tasktop.com> wrote in message
news:gape2d$tj8$1@build.eclipse.org...
> Hi Klaus,
>
> your use-case have not come up before. I would suggest to file an
> enhancement request in the Mylyn Bugzilla:
>
> http://www.eclipse.org/mylyn/bugs/
>
> Generally development related questions are best directed at the mylyn-dev
> or mylyn-integrators mailing list:
>
> http://www.eclipse.org/mylyn/community/
>
> Steffen
>
>
> Klaus Wenger wrote:
>
>> hello mylyn community,
>>
>> i am in the process of creating a mylyn connector for our commercial
>> change management system. the SDK provided by that system requires each
>> access to one specific server instance to be queued. the already existing
>> eclipse feature for that system uses job scheduling rules to that means.
>> those rules use the server instance as mutex. since different task
>> repositories in our connector may target the same server, using those
>> scheduling rules for all jobs is paramount to avoid deadlocks. mylyn
>> synchronize jobs use their own flavor of a rule in which the task
>> repository becomes the mutex.
>>
>> my question is now: could the ISynchronizationSession be extended or
>> other
>> entry points be provided in for instance
>>
> org.eclipse.mylyn.tasks.core.AbstractRepositoryConnector#pre Synchronization(org.eclipse.mylyn.tasks.core.sync.ISynchroni zationSession,
>> org.eclipse.core.runtime.IProgressMonitor) to override/extend the rule to
>> be used by the synchronization job(s). basically all jobs needed to be
>> scheduled by rule in our environment ... query, task ...
>>
>> many thanks for your feedback in advance,
>>
>> klaus
>
Re: scheduling rules in synchronization jobs [message #593258 is a reply to message #57669] Tue, 16 September 2008 23:04 Go to previous message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
Hi Klaus,

your use-case have not come up before. I would suggest to file an
enhancement request in the Mylyn Bugzilla:

http://www.eclipse.org/mylyn/bugs/

Generally development related questions are best directed at the mylyn-dev
or mylyn-integrators mailing list:

http://www.eclipse.org/mylyn/community/

Steffen


Klaus Wenger wrote:

> hello mylyn community,
>
> i am in the process of creating a mylyn connector for our commercial
> change management system. the SDK provided by that system requires each
> access to one specific server instance to be queued. the already existing
> eclipse feature for that system uses job scheduling rules to that means.
> those rules use the server instance as mutex. since different task
> repositories in our connector may target the same server, using those
> scheduling rules for all jobs is paramount to avoid deadlocks. mylyn
> synchronize jobs use their own flavor of a rule in which the task
> repository becomes the mutex.
>
> my question is now: could the ISynchronizationSession be extended or other
> entry points be provided in for instance
>
org.eclipse.mylyn.tasks.core.AbstractRepositoryConnector#pre Synchronization(org.eclipse.mylyn.tasks.core.sync.ISynchroni zationSession,
> org.eclipse.core.runtime.IProgressMonitor) to override/extend the rule to
> be used by the synchronization job(s). basically all jobs needed to be
> scheduled by rule in our environment ... query, task ...
>
> many thanks for your feedback in advance,
>
> klaus
Re: scheduling rules in synchronization jobs [message #593394 is a reply to message #57804] Mon, 22 September 2008 21:30 Go to previous message
Klaus Wenger is currently offline Klaus WengerFriend
Messages: 31
Registered: July 2009
Member
thank you, steffen!

i just filed bug # 248199
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=248199) and hope it is what
you had in mind. the scheduling rule extension would really help me avoiding
deadlocks in the command-queue of our SDK or peppering my code with
synchronize-blocks.

all the best,

k


"Steffen Pingel" <steffen.pingel@tasktop.com> wrote in message
news:gape2d$tj8$1@build.eclipse.org...
> Hi Klaus,
>
> your use-case have not come up before. I would suggest to file an
> enhancement request in the Mylyn Bugzilla:
>
> http://www.eclipse.org/mylyn/bugs/
>
> Generally development related questions are best directed at the mylyn-dev
> or mylyn-integrators mailing list:
>
> http://www.eclipse.org/mylyn/community/
>
> Steffen
>
>
> Klaus Wenger wrote:
>
>> hello mylyn community,
>>
>> i am in the process of creating a mylyn connector for our commercial
>> change management system. the SDK provided by that system requires each
>> access to one specific server instance to be queued. the already existing
>> eclipse feature for that system uses job scheduling rules to that means.
>> those rules use the server instance as mutex. since different task
>> repositories in our connector may target the same server, using those
>> scheduling rules for all jobs is paramount to avoid deadlocks. mylyn
>> synchronize jobs use their own flavor of a rule in which the task
>> repository becomes the mutex.
>>
>> my question is now: could the ISynchronizationSession be extended or
>> other
>> entry points be provided in for instance
>>
> org.eclipse.mylyn.tasks.core.AbstractRepositoryConnector#pre Synchronization(org.eclipse.mylyn.tasks.core.sync.ISynchroni zationSession,
>> org.eclipse.core.runtime.IProgressMonitor) to override/extend the rule to
>> be used by the synchronization job(s). basically all jobs needed to be
>> scheduled by rule in our environment ... query, task ...
>>
>> many thanks for your feedback in advance,
>>
>> klaus
>
Previous Topic:Is Rich view available for Web Templates, 3.0
Next Topic:All queries disappear after Mylyn 3.0/Collabnet 1.6 (IssueZilla connector) upgrade
Goto Forum:
  


Current Time: Thu Mar 28 19:12:20 GMT 2024

Powered by FUDForum. Page generated in 0.04148 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top