| Branch: | Tag: | Revision:

gdp / gdp / gdp_stat.h @ master

History | View | Annotate | Download (11.4 KB)

# Date Author Comment
6654cd63 06/13/2020 02:22 PM Eric Allman

Logs with no public key would return confusing results; it is now
explicit that the problem (which is now a warning) is that there was no
public key available.

49d76189 01/14/2020 01:06 PM Eric Allman

Version 2.2.3: Make failure to read a secret key for a writable log an
error instead of waiting for the first append to fail (this can be
turned off using gdp_open_info_set_no_skey_nonfatal, which causes
gdp_gin_open to return a warning instead of an error). Add a -S flag to...

1042a70f 04/02/2019 05:51 PM Eric Allman

Change ep_crypto_{md|sign|vrfy}_new to return an error status so we can
do a better job of diagnosing problems.

f5cccbca 02/03/2019 09:10 AM Eric Allman

First cut at a connection pool for MariaDB connections. This will
hopefully address some of the locking problems as well.

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

Update license date on all files. No functional changes.

dec37a7b 01/07/2019 12:53 PM Eric Allman

Improvements to gdp-name-xlate.

c39a16b1 12/11/2018 11:59 AM Eric Allman

Cleanup on human-oriented name handling during creation, including
documentation. Big changes: don't allow a "human name" that looks like
a base-64-encoded name; use GDP_NAME_ROOT when creating a new log using
gdp-create; treat a zero-length GDP_NAME_ROOT as though the variable...

80da996e 10/24/2018 12:53 PM Eric Allman

Mega-change: new object creation API with updated metadata; internal
name is hash of metadata, not hash of human name; query and maintain
human-oriented name to GDPname directory (HONGD).

caef25cd 07/31/2018 11:08 AM Eric Allman

Restructure signature verification code to move it from gdplogd into
libgdp in preparation for verifying signatures on reads. Version number
bumped to 2.0.4.

59c6c7e0 07/26/2018 10:50 AM Eric Allman

First cut at external => internal name mapping using MySQL. It is
currently not an error if the mapping doesn't exist --- it just falls
back to the old SHA256 behavior --- and there is no automated addition
of the mapping to the database when you create a log. To make this work...

23c926fa 06/22/2018 11:08 AM Eric Allman

Some deployed versions of SQLite don't support the SELECT FROM
pragma_ syntax.

1c4fea03 06/20/2018 07:14 AM Eric Allman

Fix problems with hash chains on logs that did not have have crypto

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.

9852be60 05/25/2018 01:22 PM Eric Allman

Snapshot: several problems with timestamps and metadata.

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.

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

2af11a08 11/08/2017 12:38 PM Eric Allman

Documentation updates (and minor code updates to match the docs).

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

Return to compilable state after rebase. No testing.

06d39be9 11/08/2017 12:38 PM Eric Allman

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

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

956efe51 10/02/2017 04:19 PM Eric Allman

change GDP_STAT_NAK_NOTFOUND back to being an ERROR severity (not WARN)
per discussion with Nitesh.

7fdfaa3c 09/19/2017 01:23 AM Eric Allman

Generalize ack/nak to EP_STAT mapping to be more flexible and better
allow for improved error messages. Still more to be done, but the
basics are in.

9742b2f7 09/15/2017 12:46 PM Eric Allman

Make GDP_STAT_NAK_{NOTFOUND|GONE} a warning (was error) so that debug
levels can be more easily determined.

66ba1423 07/01/2017 05:17 PM Eric Allman

Make sure _gdp_invoke returns an error status if a command times out.

6f52b2b7 04/14/2017 03:16 PM Eric Allman

Implement a way to deliver "record missing" back to client.

ea6de1b1 04/12/2017 03:52 PM Eric Allman

Improvements to gdp-log-check to validate databases (only for DB-4.x and

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

Update licenses to 2017.

8c7f7d4d 02/06/2017 10:36 AM Eric Allman

Make "OK" status code from gdp_gcl_* routines more sensible (they look
like HTTP reply codes now).

8701c522 11/03/2016 11:34 AM Eric Allman

Further attempts to be more forgiving about errors, particularly in
terms of inappropriate values in API calls (which are no longer

6a78b581 10/29/2016 12:06 PM Eric Allman

Attempt to recover a bit more gracefully from one "assertion failure"
like error. There is a memory leak in the recovery, but that can't be

edfbc08f 09/09/2016 08:41 AM Eric Allman

Change EP_STAT creation macros so you don't need to spell out
"EP_STAT_SEV_" on every call.

6d70b9d9 08/25/2016 04:28 PM Eric Allman

Add new NAK code for failure to replicate on an append

02356366 06/18/2016 02:22 PM Eric Allman

Be more tolerant of missing records and duplicated records (preparation
for replication).

8cc28925 05/26/2016 05:10 PM Eric Allman

First cut on implementing FWD_APPEND command. Still not working for all

e539f4d3 05/12/2016 12:28 PM Eric Allman

Fix a reference counting bug. Improve reference counting and locking

18624361 04/28/2016 10:37 AM Eric Allman

Fix a race condition where _gdp_req_lock could return a pointer to a
free req. This could only happen if thread T1 got a pointer to the req,
then T2 locked the req, then T1 blocked on the lock, T2 freed the req
and unlocked the req, allowing T1 to continue with the now freed req....

13429833 02/16/2016 10:37 AM Eric Allman

Clean up GDP ack/nak status codes.

24a0a636 02/15/2016 03:19 PM Eric Allman

Add status code/NAK command corresponding to 410 Gone (for expired

c2e8809e 02/14/2016 11:01 AM Eric Allman

Don't fail destructively if you try to read data from an extent that has

c7cc6913 01/27/2016 11:13 AM Eric Allman

Merge branch 'master' into eric-ondisk

916c2137 01/26/2016 01:47 PM Eric Allman

Fix some glitches in gdp_stat.h (unused macros were named wrong).

7b2b4d4c 12/25/2015 07:17 AM Eric Allman

Improve checking and logging results of I/O system calls.

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.

08be4c9c 10/31/2015 11:34 AM Eric Allman

Reliability fixes: reinitialize subscriptions periodically and retry
commands on router or server errors (allows gdplogd restarts with open
connections). Subscriptions will catch up and commands such as APPEND
will complete when the daemon returns. Adds a new thread in clients to...

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.

f7307b63 07/27/2015 04:30 PM Eric Allman

Signature checking working. No action taken on bad signature yet.
Still considerable cleanup left to be done.

9a47c6c7 07/24/2015 09:38 AM Eric Allman

Another signing snapshot: signatures are created and sent but not
checked. Metadata is returned when a GCL is opened. Still have a
problem with reference counting of GCL handles.

f80ae9c0 07/22/2015 09:54 AM Eric Allman

Snapshot adding signing. Signatures are computed but not sent or

704c6e35 01/28/2015 07:34 AM Eric Allman

Make request-id field required in PDU to make the router code easier.

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

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

a0a21282 12/27/2014 03:48 PM Eric Allman

Adjustments for new PDU format, better error checking, etc.

549b367d 12/26/2014 07:55 AM Eric Allman

Begin change to new on-wire protocol. Involves lots of renaming.
Amazingly it still seems to run.

5c6e2b40 11/05/2014 11:11 AM Eric Allman

First step at implementing metadata. Internals are there, but there's
no way to use it yet.

8e9d0a01 10/10/2014 02:05 PM Eric Allman

Add "reserved" space to GCL records to allow for possible typing
extensions. Have the physical layer actually check the version number
in the file header.

30af6d11 10/10/2014 10:34 AM Eric Allman

Don't log client errors (use system errors instead).

36cc958b 10/06/2014 11:05 AM Eric Allman

Correctly diagnose gdpd death.

4f2d2174 09/28/2014 01:38 AM Eric Allman

Correctly diagnose "GCL already exists" error on create.

8ec0d882 08/28/2014 11:10 AM Eric Allman

Improve error messages to avoid scaring the users.

9509f13b 08/23/2014 01:27 PM Eric Allman

Another snapshot. Much closer to having subscriptions working.

e77b2836 08/18/2014 01:37 PM Eric Allman

Fix some of the gdp_physlog problems when the GCL isn't all in memory
(but probably more to come).

51775f02 08/18/2014 08:28 AM Eric Allman

Basics appear to be working; still have some problems in gdpd_phys.

0314a7a7 08/14/2014 10:15 AM Eric Allman

Snapshot. Starting to work, but not there yet.

cd2ef2a6 08/11/2014 12:21 PM Eric Allman

Snapshot --- gdp library compiles but untested, gdpd doesn't quite
compile, apps haven't even been attempted.

49c87bd9 08/04/2014 12:45 PM Eric Allman

First cut at multithreading the EP library.

a901db09 07/28/2014 12:32 PM Eric Allman

Redo spacing changes (but in a very limited way). At this point tabs
(hard, soft, and shiftwidth) are four characters.

eaf2fd26 07/28/2014 12:12 PM Eric Allman

Revert "Format all gdp files with Allman style, hard tabs only, 4 tab stop"
That commit changed a great deal more than the spacing; easiest to just do
it over.

This reverts commit 97b8b3eefd59591f7a71e22ee9c194aab50561cb.

97b8b3ee 07/25/2014 04:24 PM Siqi Lin

Format all gdp files with Allman style, hard tabs only, 4 tab stop

d091d118 07/19/2014 12:40 PM Eric Allman

Add new status code for Invalid GCL Name.

0c663d10 07/01/2014 01:43 PM Eric Allman

Conversion from single process to library + daemon. [Why do I have to check this in a second time?]

47c6ea64 05/26/2014 10:25 AM Eric Allman

Initial checkin.