View Issue Details

IDProjectCategoryView StatusLast Update
0000017Timekoin ServerPerformance Issuepublic2012-08-03 16:24
ReporterKnightMB Assigned ToKnightMB  
PrioritynormalSeverityminorReproducibilitysometimes
Status resolvedResolutionfixed 
Product Version1.2 
Target Version1.3Fixed in Version1.5 
Summary0000017: New Timekoin servers take too long to update transaction history
DescriptionA fresh timekoin server is suppose to start at record 4 (after the beginning record and the 3 test records for verification) and work it's way towards the end using the other peers as a way to build up the transaction history. Instead, the new timekoin server might jump right to the end and begin building the transaction history from the front instead (working backwards), which takes a lot more time.
Steps To ReproduceStart a new timekoin server where the transaction history is empty.
TagsNo tags attached.

Activities

KnightMB

2012-06-23 22:47

administrator   ~0000012

I was able to reproduce after a few tries on a test server, seems to be a situation where the server is about to start building the transaction history but instead gets a notification from a peer that record number (some high number) is invalid and redirects it to repair it. The repair request is valid because the blank database won't have a record that far in it, but that redirects Timekoin to start working on the database near the end of the records instead of starting from the beginning and building up.

KnightMB

2012-06-24 17:02

administrator   ~0000016

Last edited: 2012-06-24 17:02

If you schedule a block check at say 3 for example, this will restart the process because it will start at the beginning of the transaction history and begin working it's way back up like before. It can still get interrupted by a peer request for invalid block check, so some further code will be needed to make it a little smarter.

Issue History

Date Modified Username Field Change
2012-06-23 22:45 KnightMB New Issue
2012-06-23 22:45 KnightMB Status new => assigned
2012-06-23 22:45 KnightMB Assigned To => KnightMB
2012-06-23 22:47 KnightMB Note Added: 0000012
2012-06-23 22:47 KnightMB Status assigned => confirmed
2012-06-24 17:02 KnightMB Note Added: 0000016
2012-06-24 17:02 KnightMB Note Edited: 0000016
2012-08-03 16:24 KnightMB Status confirmed => resolved
2012-08-03 16:24 KnightMB Fixed in Version 2.41 => 1.5
2012-08-03 16:24 KnightMB Resolution open => fixed