Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-2713

Remove audit fields from XXPolicyRef objects

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • master
    • None
    • admin, audit
    • None

    Description

      XXPolicyRef objects have fields such as create time, update time, added by user ID, updated by user ID, but there fields are entirely useless since they are all copied from the XXPolicy object.  In addition, while improving performance for creation of policies with large numbers of users, we discovered that a lot of time was being spent in JPA converting these Date objects especially.  After removing these fields we saw a significant performance improvement (a secondary benefit is less database space usage).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              andrewluo Andrew Luo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

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