Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-2835

SQL DB based topology monitor

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      This is similar to KNOX-1012 but the providers/descriptors are stored in the database instead of zookeeper.

      • If a provider/descriptor is deleted from the db but exists on the file system the monitor is going to delete it from the file system
      • If a provider/descriptor exists in the DB but missing from the file system the monitor is going to download it from the DB to the FS.
      • If a provider/descriptor in the DB has a different content than the corresponding local file, then the monitor is going to update the local file with the content from he DB. However to avoid too frequent and unnecessary IO operations we only change the local files if the remote change happened after the last synchronization time (if it happened in the past, we assume the changes were already synced to the disk). So one can change the local files on the disk manually without worrying about losing their local changes, until someone updates the DB.

      Attachments

        Activity

          People

            amagyar Attila Magyar
            amagyar Attila Magyar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 50m
                1h 50m