> On Oct 14, 2015, at 00:51, Jesse Glick <[email protected]> wrote:
> 
> On Tue, Oct 13, 2015 at 1:06 PM, Kanstantsin Shautsou
> <[email protected]> wrote:
>> better create db-plugin with some hibernate and provide API
> 
> KK actually already did this part—and then stopped there. :-)
> 
>> start migrating plugins / unbundling existed core API to use this db-plugin
> 
> Yes, that would be the approach I suggest too. The open question is
> how much work it is to maintain incremental settings compatibility
> when updating plugins to versions that expect the DB.
> 
> Also it is one thing to migrate a plugin like `junit` which has a
> `testResults.xml` that it writes and it reads. But we need to handle
> the general `build.xml`, which is extensible with `Action`s that are
> expected to be XStream-serialized.
I feel that should be analog of transientProjectFactory for builds. That should 
allow proxy object load from db. 
But i think here will be transactional problems and lazy loads again...
> So there needs to be a way to keep
> `Action`s from unmigrated plugins in XML format somewhere, while
> allowing migrated plugins to keep their data in a DB, and doing all
> this transparently to other code that just expects a `Run` to be
> `Actionable`. Will require some planning to get this right.
> 
> Settings (`config.xml`) are then another matter, though I think this
> is a lower priority than build records. The main use case for keeping
> these in a (cloud) DB is to implement transparent load balancing, but
> that brings up other issues with in-memory global state (for example
> in the `Queue` but certainly not limited to that).
As simple step just fully serialise into DB and later split?
> 
> -- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "Jenkins Developers" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/jenkinsci-dev/vbXK7JJekFw/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr1xixTAv8bg5VPyx9Jt6pXKNSypUm%3DYyGkaJegq2q%3Drzg%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/C92BE8BB-72FE-4ABC-AFEB-8C59F2DA72F8%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to