Skip to content

Add ConfigDB Journal#569

Open
niranjanivivek wants to merge 1 commit intosonic-net:masterfrom
niranjanivivek:pr_fe_config_db_journal
Open

Add ConfigDB Journal#569
niranjanivivek wants to merge 1 commit intosonic-net:masterfrom
niranjanivivek:pr_fe_config_db_journal

Conversation

@niranjanivivek
Copy link

@niranjanivivek niranjanivivek commented Feb 3, 2026

Add ConfigDB Journal Feature. The ConfigDB Journal would capture writes to the database in a file on the switch.

UT Test results for Config DB Journal:

=== RUN TestNewDbJournal
=== RUN TestNewDbJournal/Success
=== RUN TestNewDbJournal/InvalidDb
--- PASS: TestNewDbJournal (0.00s)
--- PASS: TestNewDbJournal/Success (0.00s)
--- PASS: TestNewDbJournal/InvalidDb (0.00s)
=== RUN TestDbJournalInit
=== RUN TestDbJournalInit/Success
=== RUN TestDbJournalInit/NilRedisClient
--- PASS: TestDbJournalInit (0.00s)
--- PASS: TestDbJournalInit/Success (0.00s)
--- PASS: TestDbJournalInit/NilRedisClient (0.00s)
=== RUN TestDbJournalUpdateCache
=== RUN TestDbJournalUpdateCache/SuccessHSet
=== RUN TestDbJournalUpdateCache/SuccessDel
=== RUN TestDbJournalUpdateCache/NilCache
=== RUN TestDbJournalUpdateCache/NilRedisClient
--- PASS: TestDbJournalUpdateCache (0.00s)
--- PASS: TestDbJournalUpdateCache/SuccessHSet (0.00s)
--- PASS: TestDbJournalUpdateCache/SuccessDel (0.00s)
--- PASS: TestDbJournalUpdateCache/NilCache (0.00s)
--- PASS: TestDbJournalUpdateCache/NilRedisClient (0.00s)
=== RUN TestDbJournalRotateFile
--- PASS: TestDbJournalRotateFile (3.46s)

Why I did it

How I did it

How to verify it

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@mssonicbld
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@niranjanivivek niranjanivivek force-pushed the pr_fe_config_db_journal branch from 4a7c62f to 3e52738 Compare February 3, 2026 09:13
@mssonicbld
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@niranjanivivek
Copy link
Author

@sreeiyer-1, Please review.

@niranjanivivek niranjanivivek marked this pull request as ready for review February 3, 2026 11:37
@niranjanivivek
Copy link
Author

Hello @ndas7 , @rlucus , @kishanps . Please review

@niranjanivivek niranjanivivek marked this pull request as draft February 4, 2026 05:33
@niranjanivivek niranjanivivek force-pushed the pr_fe_config_db_journal branch from 3e52738 to 27b0f0b Compare February 4, 2026 12:24
@mssonicbld
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@niranjanivivek niranjanivivek force-pushed the pr_fe_config_db_journal branch from 27b0f0b to 07d2881 Compare February 11, 2026 13:32
@mssonicbld
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@niranjanivivek niranjanivivek force-pushed the pr_fe_config_db_journal branch from 07d2881 to 8786339 Compare February 12, 2026 10:41
@mssonicbld
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@niranjanivivek niranjanivivek force-pushed the pr_fe_config_db_journal branch from 8786339 to 5f9018d Compare February 12, 2026 12:00
@mssonicbld
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@niranjanivivek niranjanivivek marked this pull request as ready for review February 12, 2026 17:40
@niranjanivivek niranjanivivek force-pushed the pr_fe_config_db_journal branch from 5f9018d to 752f1d0 Compare February 19, 2026 06:57
@mssonicbld
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@niranjanivivek
Copy link
Author

@ndas7 @rlucus Please review the same.

Signed-off-by: Niranjani Vivek <niranjaniv@google.com>
@niranjanivivek niranjanivivek force-pushed the pr_fe_config_db_journal branch from 752f1d0 to 5bb3fd6 Compare February 27, 2026 02:58
@mssonicbld
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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.

3 participants