why the records of cwd_directory_attribute table always automatically deleted every 5 mins

I found the records of cwd_directory_attribute table always automatically deleted every 5 mins, and automatically insert again, why is that?

1 answer

0 vote

It's to do with the way it processes directory synchronisation.

But why does it matter?  You should not be reading the database in Jira, so you should not care what it is doing there.

Because there have been two times of lost some records this week, one time lost ldap.basedn and ldap.user.filter, another time lost  ldap.based, ldap.user.filter and ldap.pool.initsize, this causes the jira can not log on.

It took a long time to find the cause of the problem, and manually insert records and restart jira to fix it.

In fact, the records deleted more than one time every 5 mins, I doubts the times is related by the count of users in jira-administrators group, every admin user will cause a delete and more then 40 insert. This could be a performance problem.

Manually inserting records into a Jira database is a recipe for disaster.

You should fix whatever is failing on the "two times lost records", and stop messing with the database.

Yes, you're right.

I don't know why this problem occurs, and how to solve it.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

790 views 2 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you