Skip to content

Instantly share code, notes, and snippets.

@trang
Created December 14, 2014 04:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trang/3005d171998450f40b4a to your computer and use it in GitHub Desktop.
Save trang/3005d171998450f40b4a to your computer and use it in GitHub Desktop.
tail dedup-2014-12-14T05\:58.log
{"timestamp": "2014-12-14 06:19 AM UTC", "main_id": 3037259, "query": "update", "duplicate_ids": [3387808], "operation": "merge SentenceAnnotations", "field_replaced": "sentence_id", "rows_affected": "[]"}
{"timestamp": "2014-12-14 06:19 AM UTC", "main_id": 3037259, "query": "update", "duplicate_ids": [3387808], "operation": "merge SentenceAnnotations", "field_replaced": "meaning_id", "rows_affected": "[]"}
{"timestamp": "2014-12-14 06:19 AM UTC", "main_id": 3037259, "query": "delete", "duplicate_ids": [3387808], "operation": "delete Sentences", "field_replaced": "sentence_id", "rows_affected": "[{\"fields\": {\"lang\": \"nld\", \"user_id\": 3438, \"created\": \"2014-07-19T19:26:41Z\", \"text\": \"Rustig aan!\", \"correctness\": 0, \"modified\": \"2014-07-19T19:26:41Z\", \"hasaudio\": \"no\", \"lang_id\": 111, \"dico_id\": null}, \"model\": \"tatoeba2.sentences\", \"pk\": 3387808}]"}
{"timestamp": "2014-12-14 06:19 AM UTC", "main_id": 3037259, "query": "insert", "duplicate_ids": [3387808], "operation": "log_deletion Contributions", "field_replaced": "sentence_id", "rows_affected": "[{\"fields\": {\"sentence_lang\": \"nld\", \"user_id\": 63758, \"text\": \"Rustig aan!\", \"translation_id\": null, \"datetime\": \"2014-12-14T06:19:35.427Z\", \"action\": \"delete\", \"sentence_id\": 3387808, \"ip\": \"\", \"translation_lang\": \"\", \"type\": \"sentence\"}, \"model\": \"tatoeba2.contributions\", \"pk\": null}]"}
{"timestamp": "2014-12-14 06:19 AM UTC", "main_id": 401801, "query": "insert", "duplicate_ids": [3004701, 3399455], "operation": "merge SentenceComments", "field_replaced": "sentence_id", "rows_affected": "[]"}
{"timestamp": "2014-12-14 06:19 AM UTC", "main_id": 401801, "query": "update", "duplicate_ids": [3004701, 3399455], "operation": "merge TagsSentences", "field_replaced": "sentence_id", "rows_affected": "[{\"fields\": {\"added_time\": \"2014-01-26T13:12:12Z\", \"sentence_id\": 3004701, \"user_id\": 1396}, \"model\": \"tatoeba2.tagssentences\", \"pk\": 7}, {\"fields\": {\"added_time\": \"2014-11-23T06:15:39Z\", \"sentence_id\": 3399455, \"user_id\": 1396}, \"model\": \"tatoeba2.tagssentences\", \"pk\": 7}]"}
{"timestamp": "2014-12-14 06:19 AM UTC", "main_id": 401801, "query": "delete", "duplicate_ids": [3004701, 3399455], "operation": "delete update collisions SentencesTranslations", "field_replaced": "sentence_id", "rows_affected": "[{\"fields\": {\"translation_lang\": \"eng\", \"distance\": 1, \"sentence_lang\": \"eng\", \"translation_id\": 401801}, \"model\": \"tatoeba2.sentencestranslations\", \"pk\": 3004701}, {\"fields\": {\"translation_lang\": \"eng\", \"distance\": 1, \"sentence_lang\": \"eng\", \"translation_id\": 401801}, \"model\": \"tatoeba2.sentencestranslations\", \"pk\": 3399455}]"}
{"timestamp": "2014-12-14 06:19 AM UTC", "main_id": 401801, "query": "delete", "duplicate_ids": [3004701, 3399455], "operation": "delete update collisions SentencesTranslations", "field_replaced": "sentence_id", "rows_affected": "[{\"fields\": {\"translation_lang\": \"eng\", \"distance\": 1, \"sentence_lang\": \"eng\", \"translation_id\": 3004701}, \"model\": \"tatoeba2.sentencestranslations\", \"pk\": 401801}, {\"fields\": {\"translation_lang\": \"eng\", \"distance\": 1, \"sentence_lang\": \"eng\", \"translation_id\": 3399455}, \"model\": \"tatoeba2.sentencestranslations\", \"pk\": 401801}]"}
{"timestamp": "2014-12-14 06:19 AM UTC", "main_id": 401801, "query": "delete", "duplicate_ids": [3004701, 3399455], "operation": "delete update collisions SentencesSentencesLists", "field_replaced": "sentence_id", "rows_affected": "[]"}
{"timestamp": "2014-12-14 06:19 AM UTC", "main_id": 401801, "query": "update", "duplicate_ids": [3004701, 3399455], "operation": "merge SentencesSentencesLists", "field_replaced": "sentence_id", "rows_affected": "[{\"fields\": {\"sentences_list_id\": 3253}, \"model\": \"tatoeba2.sentencessentenceslists\", \"pk\": 3004701}, {\"fields\": {\"sentences_list_id\": 3253}, \"model\": \"tatoeba2.sentencessentenceslists\", \"pk\": 3399455}]"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment