<feed xmlns='http://www.w3.org/2005/Atom'>
<title>WebStat analyser/src/sql/selectUninsertableLines.sql, branch webstat-0.7.1</title>
<subtitle>WebStat web site access analyser</subtitle>
<id>http://git.randomdan.homeip.net/repo/webstat/atom?h=webstat-0.7.1</id>
<link rel='self' href='http://git.randomdan.homeip.net/repo/webstat/atom?h=webstat-0.7.1'/>
<link rel='alternate' type='text/html' href='http://git.randomdan.homeip.net/repo/webstat/'/>
<updated>2026-07-04T19:19:34Z</updated>
<entry>
<title>Insert uninsirtable lines using the hostnameId recorded in the bad_lines table</title>
<updated>2026-07-04T19:19:34Z</updated>
<author>
<name>Dan Goodliffe</name>
<email>dan@randomdan.homeip.net</email>
</author>
<published>2026-07-04T19:19:34Z</published>
<link rel='alternate' type='text/html' href='http://git.randomdan.homeip.net/repo/webstat/commit/?id=870aa90c005f77a73445f5c39f9fd9bbb7604fe8'/>
<id>urn:sha1:870aa90c005f77a73445f5c39f9fd9bbb7604fe8</id>
<content type='text'>
Includes the same fix from the previous commit which stops caching
entities until the inserts are complete.
Updates storeLogLine to take an insert command with the hostnameId
already bound.
</content>
</entry>
<entry>
<title>Include extra details when storing unparsable and uninsertable lines.</title>
<updated>2026-07-04T18:36:30Z</updated>
<author>
<name>Dan Goodliffe</name>
<email>dan@randomdan.homeip.net</email>
</author>
<published>2026-07-04T11:11:38Z</published>
<link rel='alternate' type='text/html' href='http://git.randomdan.homeip.net/repo/webstat/commit/?id=61e106fe6a15f76b73125682e91d5c17ee875be2'/>
<id>urn:sha1:61e106fe6a15f76b73125682e91d5c17ee875be2</id>
<content type='text'>
Now includes the hostnameId, timestamp and optionally error message.
Updates idx_entities_retryinsert to account for details not being NULL.
Also fixes the issue where the entities inserted and rollback would
still be recorded in the entity cache if the access log insert failed.
This would have lead to PK violations later on.
</content>
</entry>
<entry>
<title>Select uninsertable is for update</title>
<updated>2026-06-08T22:36:01Z</updated>
<author>
<name>Dan Goodliffe</name>
<email>dan@randomdan.homeip.net</email>
</author>
<published>2026-06-08T22:36:01Z</published>
<link rel='alternate' type='text/html' href='http://git.randomdan.homeip.net/repo/webstat/commit/?id=856527b65e3c4807cf2bfb9d0e495d9712d56a90'/>
<id>urn:sha1:856527b65e3c4807cf2bfb9d0e495d9712d56a90</id>
<content type='text'>
This prevents other instances acting on the same rows in parallel,
potentially duplicating the rows and effort.
</content>
</entry>
<entry>
<title>Run the retry uninsertable process batched</title>
<updated>2026-05-18T23:36:50Z</updated>
<author>
<name>Dan Goodliffe</name>
<email>dan@randomdan.homeip.net</email>
</author>
<published>2026-05-18T23:36:50Z</published>
<link rel='alternate' type='text/html' href='http://git.randomdan.homeip.net/repo/webstat/commit/?id=b298237a297cb70640c85c016b702a35ecafd9b9'/>
<id>urn:sha1:b298237a297cb70640c85c016b702a35ecafd9b9</id>
<content type='text'>
Standard sized batch in a transaction, ordered by entity id.
Includes early exit if terminated.
</content>
</entry>
<entry>
<title>Add job to retry insertion of log lines which had previously failed</title>
<updated>2026-05-18T19:43:51Z</updated>
<author>
<name>Dan Goodliffe</name>
<email>dan@randomdan.homeip.net</email>
</author>
<published>2026-05-18T19:43:51Z</published>
<link rel='alternate' type='text/html' href='http://git.randomdan.homeip.net/repo/webstat/commit/?id=e1a6654bd5e284842ffbc3b93bd390f3bad7a187'/>
<id>urn:sha1:e1a6654bd5e284842ffbc3b93bd390f3bad7a187</id>
<content type='text'>
Entities are reparsed and reinserted, removed on success.
Failure to parse updates the entity type to UnparsableLine.
Failure to insert again updates the detail with the reason.
</content>
</entry>
</feed>
