Turkish President Recep Tayyip Erdogan met with his on-then-off-then-on-again ally, Russia President Vladmir Putin, signaling a thawing of relations.