Hi Abhishek,

Great, thanks! I'll share the rules list here before you start on the
post-processing, so Adam can take a look too. Ping me when the marker PR is
up and I'll test it. Let's wait for Adam on the sub-tasks.

Thanks,
Senesh Perera
Github: ImalkaPerera <https://github.com/ImalkaPerera>

On Fri, Dec 4, 2026 at 3:49 PM Abhishek Chaudhary <
[email protected]> wrote:

> Hi Senesh,
>
> Sounds good to me, all three!
> - Thanks for offering to test the marker PR, I'll ping you once it's up.
> - Agreed on preconditions: you define the rules, my generator applies
> them. When you get to them, could you share the list before I start on the
> post-processing?
> - The one-time 1.18.0 archive move works for me too, so the Gradle task
> only handles later releases.
>
> Let's wait for Adam on the sub-tasks and then get going.
>
> Thanks,
> Abhishek
>
> On Fri, Dec 04, 2026 06:41 AM, Senesh Perera <[email protected]>
> wrote:
>
>> Hi Abhishek, Adam,
>>
>> Thanks, the split looks good to me. A couple of small things:
>>
>> - Happy to help with testing and review on your 1.17.0 marker PR, so
>> we're sure fresh installs and upgrades write the markers on PostgreSQL,
>> MySQL and MariaDB before the branch cut.
>> - For the preconditions, how about your generator adds them during
>> post-processing, and I define the guard/precondition rules and cover them
>> in the upgrade tests? That way we don't both build the same thing.
>>
>> Also, if it helps, I can take the first one-time move of the old
>> changesets into the archive for 1.18.0, so your Gradle task only has to
>> handle it for later releases. Let me know what you think.
>>
>> Adam, sub-tasks would work well for us whenever you have a moment.
>>
>>
>> Thanks,
>> Senesh Perera
>> Github: ImalkaPerera <https://github.com/ImalkaPerera>
>>
>> On Fri, Dec 4, 2026 at 6:14 AM Abhishek Chaudhary <
>> [email protected]> wrote:
>>
>>> Ouff Adam sounds like a hectic month take care!! (• ᴖ •。 )
>>> Senesh thanks for jumping in so quickly I'd love to collab on this! ദ്ദി
>>> ˉ͈̀꒳ˉ͈́ )✧ I'm already working on FSIP-9 (the PostgreSQL migration POC), so
>>> the Liquibase / PostgreSQL / MySQL side is fresh in my head and this fits
>>> right in.
>>> Here's a split we could start from (if it's okay with you):
>>> I can take:
>>> - The 1.17.0 release markers (release-1.17.0 for the tenant and
>>> tenant-store DBs, last in db.changelog-master.xml). These have to land on
>>> develop before the 1.17.0 branch is cut at the end of December, so I'd
>>> start here.
>>> - After that, the Gradle task that generates the aggregated DDL/DML
>>> (generateChangeLog for PostgreSQL and MySQL + post-processing the ids,
>>> preconditions and logicalFilePath).
>>> You could take:
>>> - The 1.18.0 side: the guard changeset, the MARK_RAN preconditions, the
>>> custom-ddl.yaml / custom-dml.yaml hooks, and the integration tests (fresh
>>> install, 1.17.0 DB and 1.16.x DB on PostgreSQL, MySQL and MariaDB).
>>> Together at the end: the CI schema diff check, the startup time numbers
>>> and the docs. (ง •̀_•́)ง
>>> Adam, the ticket is assigned to you right now. Would it be ok to split
>>> it into sub-tasks so we can each pick up our part?
>>> Senesh, happy to swap pieces if you'd prefer a different part! ᕙ(⇀‸↼‶)ᕗ
>>> Thanks,
>>> Abhishek
>>>
>>> On Fri, Dec 04, 2026 05:34 AM, Senesh Perera <[email protected]>
>>> wrote:
>>>
>>>> Hi Adam, Abhishek,
>>>>
>>>> +1 from me too. Regenerating the aggregated DDL/DML at each release,
>>>> with the release markers described in FINERACT-3368, makes a lot of
>>>> sense.
>>>>
>>>> I'd be glad to help with FINERACT-3368. Abhishek, would you like to
>>>> work on it together? Let me know what you think and we can figure out
>>>> how to split it.
>>>>
>>>> Thanks,
>>>> Senesh Perera
>>>> Github: ImalkaPerera <https://github.com/ImalkaPerera>
>>>>
>>>> On Fri, Dec 4, 2026 at 5:24 AM Ádám Sághy <[email protected]> wrote:
>>>>
>>>>> Not really… i wanted to work on this, but then i have got swamped…
>>>>> maybe between release 17 (planned end of december) and release 18 (planned
>>>>> somewhere in March).
>>>>>
>>>>> If you, or someone is interested, feel free to pick it up:
>>>>> https://issues.apache.org/jira/browse/FINERACT-3368
>>>>>
>>>>>
>>>>> Regards,
>>>>> Adam S
>>>>>
>>>>> On Dec 3, 2026, at 10:20 PM, Abhishek Chaudhary <
>>>>> [email protected]> wrote:
>>>>>
>>>>> (╭ರ_•́) got it, looks good to me Is there a rough timeline for this
>>>>> yet like which release you're aiming for?
>>>>>
>>>>>
>>>>> On Fri, 4 Dec 2026 at 03:41, Ádám Sághy <[email protected]> wrote:
>>>>>
>>>>>> Hi
>>>>>>
>>>>>> *Step 1*
>>>>>> No, they must update to the latest version before the aggregated DDL
>>>>>> and DML.
>>>>>>
>>>>>> *Step 2 A*
>>>>>> Update to the first version with the aggregated DDL and DML, which
>>>>>> will include all standalone DDL and DML changesets and move all the
>>>>>> standalone Liquibase changeset files into the archive.
>>>>>>
>>>>>> *Step 2 B*
>>>>>> They need to transfer all custom Liquibase changesets into
>>>>>> *custom-ddl.yaml* and *custom-dml.yaml,* and forks must maintain it.
>>>>>> Custom ddl will be executed after aggregated ddl and custom dml will be
>>>>>> executed after aggregated dml.
>>>>>>
>>>>>> *Step 2 C*
>>>>>> Create the standalone Liquibase changesets as usual onto the
>>>>>> *develop* branch.
>>>>>>
>>>>>> *Step 3*
>>>>>> During release, the aggregated DDL and DML are recreated based on the
>>>>>> current state, and the Step 2 C Liquibase changesets are moved into the
>>>>>> archive.
>>>>>>
>>>>>> By doing this, we are moving away from maintaining hundreds of
>>>>>> changeset files and simply aggregating them during release.
>>>>>>
>>>>>> I hope this makes sense and simplifies maintenance while speeding up
>>>>>> the backend starting phase.
>>>>>>
>>>>>> Regards
>>>>>> Adam S
>>>>>>
>>>>>> On Dec 3, 2026, at 9:35 PM, Abhishek Chaudhary <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>> +1 from me the fresh-install vs upgrade schema diff alone makes this
>>>>>> worth it!! ദ്ദി ˉ͈̀꒳ˉ͈́ )✧
>>>>>> One small question: will installs that skip a few releases still
>>>>>> upgrade fine since all the pending DDL runs before the DML?
>>>>>> (Sorry for the late reply i found this thread in my spam folder ☠︎︎)
>>>>>>
>>>>>> On Wed, 11 Nov 2026 at 21:18, Ádám Sághy <[email protected]> wrote:
>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I’d like to start a discussion on FSIP-13:
>>>>>>> https://cwiki.apache.org/confluence/spaces/FINERACT/pages/462817060/FSIP-13+One+DDL+and+one+DML+Liquibase+changelog+per+database
>>>>>>>
>>>>>>> Our Liquibase history has grown to 2,327 changesets in 484 files,
>>>>>>> spread over 9 changelog trees with 9 numbering schemes. The proposal is 
>>>>>>> to
>>>>>>> archive that history behind a generated baseline. From then on, every
>>>>>>> database change would be appended to one ddl.yml or one dml.yml per
>>>>>>> database, and a CI check would enforce the rules. Existing installations
>>>>>>> would upgrade through a bridge release, the same way 1.6 was required 
>>>>>>> for
>>>>>>> the Flyway-to-Liquibase switch.
>>>>>>>
>>>>>>> The page lists a few open questions, for example the release timing,
>>>>>>> the changeset id scheme and the tenant store. Feedback is very welcome
>>>>>>> there or in this thread.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Adam
>>>>>>>
>>>>>>
>>>>>>
>>>>>

Reply via email to