Looking at the client ids in my server's database, I can tell that there are many holes in the earlier client_ids but the latter client_ids have no holes between them.

I'd like to know what the criteria for deleting clients is, whether it's built-in or its a setting, so I can prevent it.