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

If not deltasync (Incremental Sync) enabled, getUsers is called too many times

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.7.0
    • None
    • usersync
    • None

    Description

      SYMPTOM
      With LDAP server which has hundreds of users and groups, Ranger Usersync never finishes the initial sync or takes extremely long time, when Group Search First & Enable User Search both are set to true.
      The usersync.log shows similar to below repeatedly.

      19 Apr 2018 17:15:19 INFO LdapUserGroupBuilder [UnixUserSyncThread] - Updating username for cn=xxxxx...
      

       

      WORKAROUND:
      If deltasync (Incremental Sync) is enabled, do not see this symptom, because LdapUserGroupBuilder calls getUsers() in the for loop, but LdapDeltaUserGroupBuilder doesn't use this method in the loop in updateSink().

       

      Attachments

        Activity

          People

            spolavarapu Sailaja Polavarapu
            h_o Hajime Osako
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: