Not really sure but think I would call it a bead edge joint, a kind of tongue and groove that should keep things in line and increase the gluing area.
You can clearly see the join which isn't great, a bigger photo might help see what's going on.
Is it Oak, it all looks a bit rough.