History | View | Annotate | Download (4.8 KB)
Delete some assertions that had zero effect (unsigned >= 0 is always true); change _gdp_chan_advert_commit to _gdp_chan_advert_flush to avoid the confusing and inaccurate name.
Remove advertisement delay --- it didn't fix the problem we were seeing.
Improved debugging on advertisements.
Fix advertising and withdrawal to actually delay between each advertisement. Required changing handling of event loop startup and shutdown.
Add swarm.gdplogd.advertise.delay parameter to delay between advertisements to avoid flooding the network when there are many logs on a server. Defaults to 100 (microseconds).
Add some scaffolding to allow multiple advertisements in a single PDU.
Update license date on all files. No functional changes.
Snapshot in on-disk format conversion from ad hoc files to SQLite databases. Compiles but is completely untested.
Changes necessary to compile under C++ because it doesn't understand that (void *) is compatible with other pointer types. This adds a lot of explicit casts that are not needed in C.
Fix some glitches with context data during startup/shutdown.
Return to compilable state after rebase. No testing.
Snapshot. Not tested.
First cut at new net protocol. Compiles, but not yet tested (not even once --- do not try to run this!).
More work on locking issues.
Update licenses to 2017.
Debug level tweaks to make gdplogd log output more coherent. -D10 logs less than before (use -D11 to get more-or-less what existed previously). Some level 10s have been dropped to 9s (if they indicate error conditions).
Default swarm.gdplogd.sequencing.allowdups to true. Improved debugging.
Break out physical implementation to an explicit class so new implementations (e.g., in memory) can be added easily.
Checkpoint: extent code closer, compiles, doesn't run.
Update license. No code changes.
Include copyright in all files. There are scripts to do bulk replacement of the copyright if desired.
Generalize logd_advertise_one to allow for de-advertising a single GCL (e.g., in the event of a migration away).
Implement gdplogd shutdown actions: withdraw advertisements, explicitly terminate all subscriptions.
Restarting when the routing layer goes away now works. Cleanup needed.
Minor change in debugging output.
Include advertising module in gdplogd.