| Branch: | Tag: | Revision:

gdp / gdplogd / logd.h @ master

History | View | Annotate | Download (6.02 KB)

# Date Author Comment
5c2abdd9 03/20/2019 03:51 PM Eric Allman

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).

c87dd166 01/23/2019 07:56 AM Eric Allman

Update license date on all files. No functional changes.

be19c14d 01/06/2019 06:59 PM Eric Allman

First cut at resurrecting log-view (now gdp-log-view) for v2 format.
Still needs some tweaking, but basics work.

cfe1834b 07/12/2018 01:27 PM Eric Allman

Implement transaction hooks to make SQLite more efficient if multiple
records are being appended at the same time.

bd278f2e 06/08/2018 11:45 AM Eric Allman

Snapshot: change physical interface to make more efficient use of SQLite
when retrieving sets. Use this for asynchronous reads.

eae1d3ec 05/25/2018 01:22 PM Eric Allman

The grand renaming: GCL is (mostly) gone in favor of GOB and GIN.

92243bf4 05/25/2018 01:22 PM Eric Allman

Snapshot in on-disk format conversion from ad hoc files to SQLite
databases. Compiles but is completely untested.

8bebf0e3 02/26/2018 11:11 AM Eric Allman

Get basic subscriptions working again.

53393e9c 02/20/2018 03:26 PM Eric Allman

Snapshot of work on getting subscriptions working under Net4. Still
has several problems.

44a5b0ef 01/24/2018 09:57 AM Eric Allman

Other fixes necessary to compile with a C++ compiler:
* Subtlety different semantics for extern keyword.
* Inability to do a forward declaration of a static variable.
* Structs must be initialized in the same order as declared.
* Cannot initialize a fixed size character array with a quoted string....

026f10e4 01/23/2018 05:00 PM Eric Allman

Change disk "delete" method to "remove" to avoid conflict with C++

e844af35 01/23/2018 04:44 PM Eric Allman

Include __BEGIN_DECLS and __END_DECLS (i.e., extern "C" blocks) to play
well with C++.

2b555b8a 01/23/2018 04:26 PM Eric Allman

Change GdplogdForgive from a struct to a bitmask. Simplified C++

d65c01e2 01/09/2018 11:18 AM Eric Allman

First cut at running Layer 5 network protocol version 4 over old
(version 3) Layer 4 stack. Substantial parts are unimplemented,
including signature generation and checking, read or subscribe by
timestamp or hash, and others. No asynchronous operations including...

833b2d3d 11/08/2017 12:38 PM Eric Allman

Return to compilable state after rebase. No testing.

f2bf61a4 11/08/2017 12:38 PM Eric Allman

Snapshot. Not tested.

5a73c6ad 11/08/2017 12:36 PM Eric Allman

First cut at new net protocol. Compiles, but not yet tested (not even
once --- do not try to run this!).

4a6db795 10/27/2017 07:35 PM Eric Allman

First cut at "delete log" command (lightly tested).

fec93aac 10/24/2017 02:38 PM Eric Allman

First cut at separating GCL instances (GINs) from GDP Objects (GOBs).
This is intended to fix some semantic problems with subscriptions. End
users always use GINs (aliased to gdp_gcl_t for now for compatibility),
and there is one GIN for each call to gdp_gcl_open (i.e., no returning...

91c89ae4 02/16/2017 12:10 PM Eric Allman

Make it possible to reclaim resources in a worker thread rather than in
the main event loop.

897accec 02/06/2017 10:41 AM Eric Allman

Update licenses to 2017.

81af2bc3 10/14/2016 12:59 PM Eric Allman

Attempt to deal more gracefully with records that are written
out-of-order (as a result of asynchronous writes). The hard point is
telling the difference between one writer with out-of-order appends
versus two writers that are actually overwriting the same record. Only...

c102736d 08/23/2016 06:09 PM Eric Allman

Try to improve the "allow gaps" and "allow dups" functionality for
replication research.

b5d79aea 08/01/2016 10:44 AM Eric Allman

Add "forgiveness" to gdplogd to allow it to self heal from various
problems. May be a security problem, but we need it for avoiding
catastrophes while we are debugging.

d2647d1f 07/26/2016 07:34 PM Eric Allman

Next take on read-by-timestamp. This version works for read, multiread,
and subscribe. There are still some glitches (e.g., you can't have a
starting timestamp in the future) but fixing these would require major
code restructuring, and besides, you can't specify a starting record...

65309098 07/26/2016 08:36 AM Eric Allman

First cut at read-by-timestamp. Adds Berkeley DB as a dependency (two
versions supported). The interface still isn't quite right; in
particular, subscribe and multiread don't take timestamps. This should
be remedied before this code is released.

0fbf9115 07/13/2016 12:55 PM Eric Allman

Rename "extents" to be "segments" because of different potential
semantics and enable them by default.

a0469464 06/24/2016 01:51 PM Eric Allman

Add logging of gdplogd administrative data for visualization.

bc666c5c 02/23/2016 05:35 PM Eric Allman

Break out physical implementation to an explicit class so new
implementations (e.g., in memory) can be added easily.

f9b45862 01/28/2016 01:08 PM Eric Allman

Implement ability to create new extents. Currently there is no attempt
made to include authorization.

90e50768 01/27/2016 11:44 AM Eric Allman

Change min_recno in extents to recno_offset to simplify a few things.

672dd559 01/10/2016 05:36 PM Eric Allman

Checkpoint: extent code closer, compiles, doesn't run.

64a0e6ee 01/06/2016 01:23 PM Eric Allman

First cut at a preliminary implementation of extents. Compiles but
completely untested. Only handles one extent.

0c9f4c21 12/25/2015 09:21 AM Eric Allman

Variable renaming for physical GCL index.

6bd5476b 12/01/2015 01:22 PM Eric Allman

Update license. No code changes.

055d3009 11/21/2015 01:20 PM Eric Allman

Include copyright in all files. There are scripts to do bulk
replacement of the copyright if desired.

51bc567e 09/27/2015 04:18 PM Eric Allman

Prep for storing signatures in the log. This puts the log into network
byte order for portability and adds a few fields. The datum still needs
to be extended, the signature actually stored, etc.

9de8d199 07/29/2015 08:33 AM Eric Allman

Add gdplogd -s flag (or swarm.gdplogd.crypto.strictness parameter) to
set how strictly signatures are enforced.

2a934f86 01/29/2015 09:54 PM Eric Allman

Generalize logd_advertise_one to allow for de-advertising a single GCL
(e.g., in the event of a migration away).

cf71c5ea 01/29/2015 11:39 AM Eric Allman

Implement gdplogd shutdown actions: withdraw advertisements, explicitly
terminate all subscriptions.

21ab3878 01/27/2015 12:12 PM Eric Allman

Unify command and ack/nak processing; unify Associative and LRU GCL
caches; multiple other cleanups.

08709feb 01/22/2015 12:53 PM Eric Allman

Restarting when the routing layer goes away now works. Cleanup needed.

7a52336b 01/21/2015 09:01 AM Eric Allman

Snapshot in getting fallbacks for connections to the routing plane.
Still doesn't work, but at least works for the case where the first
address in the list is available. It's also clear that _gdp_req_new
needs substantial work; as it is, gdplogd can handle commands and...

5500e372 01/02/2015 10:43 AM Eric Allman

Checkpoint: implementing advertising. Gdplogd doesn't work in this

efa46684 12/29/2014 11:55 AM Eric Allman

First cut at new architecture for GDP (separate routing from log layer).
This compiles but does not run.

2fe6b834 12/26/2014 01:47 PM Eric Allman

Rename gdplogd directory so it matches the name of the binary.