This commit is contained in:
2018-09-26 23:55:49 +00:00
parent 9818e26f86
commit 3a4aa80838
3 changed files with 23 additions and 9 deletions

View File

@@ -30,13 +30,23 @@ IMMEDIATE ITEMS:
- Search and search text indexing
- Update all the seeder code to add search indexing so can properly test huge search datasets
- Current item is widgets
- Need to find a way to add random text to Notes fields that varies but has some overlap ideally
- Create a test for search that searches the widgets LOREM text with huge dataset for performance testing
- bugbug: why is the single letter a being indexed? Missing shortness filter, A not in stopwords for english??
- Update all the other routes to include search indexing (attachments, tags etc, anything with text in it)
- SEEDER
- Is generating non-unique names causing crash due to validation error. Add uniqufication code, maybe just a serial number
- PAINFULLY slow to generate widgets, the db ops are taking orders of magnitude too long, can any db steps be saved??
- BUG BUG: 2018-09-26 16:47:34.3677|INFO|Seeder|Seeding 100 user(s)
2018-09-26 16:47:34.4053|INFO|Seeder|Seeding 100 user(s)
2018-09-26 16:47:34.4468|INFO|Seeder|Seeding 20000 Widget(s)
2018-09-26 16:47:34.5704|INFO|Seeder|Seeding completed successfully
2018-09-26 16:47:34.5704|INFO|Seeder|Seeder: setting server state back to Open
2018-09-26 16:47:34.5704|INFO|AyaNova.Startup|BOOT: COMPLETED - SERVER IS NOW OPEN
2018-09-26 16:47:47.0091|INFO|Seeder|User seeding completed
2018-09-26 16:47:47.0864|INFO|Seeder|User seeding completed
It's not awaiting the generation and instead is opening the server immediately and saying seeding completed when it isn't
- EventLogProcessor.AddEntry: CHANGE this to save the context itself and then change all callers to handle that (remove save)
- I originally didn't have the save in there because I thought subsequent code might all share in the single context save,
however that's impossible as things like the search indexing require a save to harvest id's so it's not actually saving any time just adding complexity