Uploaded image for project: 'Sentry'
  1. Sentry
  2. SENTRY-1626

Tables contain createTime should either remove it or update the time using SQL

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Hdfs Plugin
    • Labels:
      None

      Description

      Most of the table in Sentry contains createTime, e.g MSentryRole, MSentryGroup, MSentryPermChange, MSentryPrivilege, MAuthzPathsMapping and MSentryPathChange. Even though it is not used, it may be error-prone for future.

      The time between leader and standby servers might be different, so that after a failover, the newly elected leader might write changes with older createdTime.

      We can either remove this field, or update the time based in the database.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eddyxu Lei (Eddy) Xu
                Reporter:
                eddyxu Lei (Eddy) Xu
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: