{"action":"opened","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/15106","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/15106/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/15106/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/15106/events","html_url":"https://github.com/elastic/elasticsearch/issues/15106","id":119485784,"number":15106,"title":"Loads mapping from backup/temp files","user":{"login":"vijicools","id":8400153,"avatar_url":"https://avatars.githubusercontent.com/u/8400153?v=3","gravatar_id":"","url":"https://api.github.com/users/vijicools","html_url":"https://github.com/vijicools","followers_url":"https://api.github.com/users/vijicools/followers","following_url":"https://api.github.com/users/vijicools/following{/other_user}","gists_url":"https://api.github.com/users/vijicools/gists{/gist_id}","starred_url":"https://api.github.com/users/vijicools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vijicools/subscriptions","organizations_url":"https://api.github.com/users/vijicools/orgs","repos_url":"https://api.github.com/users/vijicools/repos","events_url":"https://api.github.com/users/vijicools/events{/privacy}","received_events_url":"https://api.github.com/users/vijicools/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-30T12:50:10Z","updated_at":"2015-11-30T12:50:10Z","closed_at":null,"body":"I had a mapping file named test.json under \r\n**config>mappings>_default>test.json**\r\nNow I changed some of the properties in my json file and my editor creates a backfile named test.json~\r\n**config>mappings>_default>test.json~**\r\n\r\nNow when I restart elastic search it loads both files and when I dump documents with type *\"test\"* unfortunately the mapping under *\"test.json~\"* is used. "}}