IN some scenario for configurable product , when we update the url-key , it is storing in the "catalog_product_entity_url_key" but in the admin panel it is the old key , we also flushed the cache and did reindexing from shell, still it is showing the same url-key .
Now when we update the description it throws error
Product with the '-------' url_key attribute already exists.
If we update the url-key and the description it gets updated , but url-key is still the same .