For established mentors - Full or Associate Professors - if they aren't actively graduating students, there's something wrong. If they have current students who are taking, on average, 7 to 8 years, there's something wrong. If you want a tenure track position and this established mentor doesn't have a record of placing their students in those positions, there's something wrong. The concept of lineage really does help. Great mentors really do seem to birth new ones. If a particular mentor has a limited lineage, look elsewhere.
Otherwise, I actively consul folks to stay clear of nontenured faculty as primary mentors. As I indicate above, those folks have pressing priorities elsewhere. If you like someone who fits in that category, get a more senior mentor as your primary and add the younger one to your committee. Just make sure the primary is truly signing off on everything. The politics are always there, especially with a nontenured trying to prove themselves, but they are manageable with some savvy. The point is: Stay clear of the nontenured without a safety net. Not only are they distracted, but they have no standing to advocate and defend you, if necessary. You're easily expendable when the choice is you or their career.
Basically, mentors can be classified based on where they sit in the career trajectory and their history. If they don't have a clear and steady record of graduating students, then don't expect you'll be different.