#72 Unregistered torrent

closed
Tracker (27)
5
2011-02-09
2011-01-24
Aledain
No

Hi.

I have XBTIT last svn revision + XBTT (try different versions). Tracker used rating. announse likes http://xxx.xxxxxx.xxx:2710/xxxxxxxxx...

I or another user upload torrent, then download torrent, open in torrent client (uTorrent or other).

Sometimes (may be 1 from 100) i get error Unregistered torrent. Refrash tracker announce or wait next announce not resolve problem. I think this torrent not added in XBTT tables or was deleted in some cases. This happen not often but this happen.

if i delete torrent from tracker then upload this torrent, all work good. In otherwords torrent file is not root of problem.

Tracker has 100 000 registered users, 8000 torrents and 20 000 visiters in 24 hours.

I think load is not much.

Discussion

  • Olaf van der Spek

    • status: open --> pending
     
  • Olaf van der Spek

    Is the info_hash in xbt_files? If not, it's a bug in your frontend.

     
  • Aledain

    Aledain - 2011-01-24
    • status: pending --> open
     
  • Aledain

    Aledain - 2011-01-24

    I'll check info_hash in xbt_files when problem repeats again.

    I interest:
    May this code cause problem?
    if ($XBTT_USE)
    do_sqlquery("INSERT INTO xbt_files SET info_hash=0x$hash, ctime=UNIX_TIMESTAMP(), mtime=UNIX_TIMESTAMP() ON DUPLICATE KEY UPDATE flags=0",true);

    May this torrent (record in xbt_files) early has been marked on deletion (flags=1). Query cancel deletion (flags=0). But deletion may be in some cases?

     
  • Olaf van der Spek

    In that case you might have a race condition but it's not very likely.

     
  • Aledain

    Aledain - 2011-01-24

    And how i must rewrite this query for creating new torrent and exclude any bugs?

     
  • Olaf van der Spek

    I'm not here to teach you SQL. ;)

     
  • Olaf van der Spek

    • status: open --> pending
     
  • Aledain

    Aledain - 2011-01-26

    Problem repeats and i recieve some info.

    info_hash 302c9132ebf885710f2d50c18b7e9e342a0bdbe5

    i try two querys
    1. SELECT * FROM `xbt_files` x JOIN xbtit_files f ON f.bin_hash=x.info_hash where f.info_hash='302c9132ebf885710f2d50c18b7e9e342a0bdbe5'
    2. SELECT * FROM `xbt_files` where info_hash=0x302c9132ebf885710f2d50c18b7e9e342a0bdbe5

    Result: 0 rows (no record in xbt_files)

    This querys work prperly, i test with other hash from other torrents and result was 1 row.

    Then problem in frontend XBTT?

     
  • Aledain

    Aledain - 2011-01-26
    • status: pending --> open
     
  • Aledain

    Aledain - 2011-01-26

    Then problem in frontend *XBTIT?

     
  • Olaf van der Spek

    Yes, indeed.

     
  • Olaf van der Spek

    • status: open --> pending
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending --> closed
     

Log in to post a comment.