Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deadlock in Search mode #3

Open
Yicong-Huang opened this issue May 18, 2020 · 0 comments
Open

Deadlock in Search mode #3

Yicong-Huang opened this issue May 18, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Yicong-Huang
Copy link
Contributor

[DATABASE] HOST = cloudberry05.ics.uci.edu, CONNECTION COUNT = 18, MAXIMUM = 100
Crawler Started
Sending a Request to Twitter Get Status API
Returning twitter.Status count: 0
Total crawled count 416018
[DATABASE] HOST = cloudberry05.ics.uci.edu, CONNECTION COUNT = 21, MAXIMUM = 100
Total data inserted into records: 373360, Total data with locations inserted into records: 42466
    self._insert_ids([(i,) for i in data_list])
  File "/extra/yicongh10/CoronavirusTwiCrawler/dumper/twitter_dumper.py", line 54, in _insert_ids
    extras.execute_values(cur, TweetDumper.INSERT_LOCATION_QUERY, ids)
  File "/extra/yicongh10/CoronavirusTwiCrawler/venv/lib64/python3.6/site-packages/psycopg2/extras.py", line 1281, in execute_values
    cur.execute(b''.join(parts))
psycopg2.errors.DeadlockDetected: deadlock detected
DETAIL:  Process 23821 waits for ShareLock on transaction 46067403; blocked by process 23931.
Process 23931 waits for ShareLock on transaction 46067402; blocked by process 23821.
HINT:  See server log for query details.
CONTEXT:  while inserting index tuple (1444912,63) in relation "records"

Main    : thread 0 done```
@Yicong-Huang Yicong-Huang added the bug Something isn't working label May 18, 2020
@Yicong-Huang Yicong-Huang self-assigned this May 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant