Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initial sync: missing/duplicate entries depending on paging #19

Open
mdraheim opened this issue Jun 10, 2022 · 0 comments
Open

initial sync: missing/duplicate entries depending on paging #19

mdraheim opened this issue Jun 10, 2022 · 0 comments

Comments

@mdraheim
Copy link

version: 7.1.0

Depending on the page size setting, the initial sync can produce duplicate (silently ignored) or missing (fatal) entries.

This happened on one of three crowd instances. The adapter failed on group membership because of the group to add as member not existing. However, the group does exist in crowd.

Curl testing showed that paged results have duplicate groups, ie the same group in different chunks, and the same amount of missing groups, so that overall entry count is correct but the data is bad.

Can you add some kind of sanity check to catch this problem and, at least, log a warning hinting at paging? And add this as a possible problem to the docs? The workaround fix here was to increase page size until the errors no longer showed.

I guess the real problem is crowd's handling of paging and probably cannot be fixed in the short term

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants