Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

gdp / gdp / gdp_name.c @ master

History | View | Annotate | Download (22.4 KB)

# Date Author Comment
3e95a6ed 09/19/2020 12:27 PM Eric Allman

Make elapsed time reporting more generic & measure more operations.

5944c856 09/16/2020 05:32 PM Eric Allman

Comment improvements for clarity.

b3346a84 09/03/2020 03:36 PM Eric Allman

Improved debugging output when resolving GDPnames.

9e006d37 07/22/2020 03:34 PM Eric Allman

Debug output improvements.

d3fdcbc0 07/09/2020 11:22 AM Eric Allman

In gdp_name_parse the return value (*xnamep) was sometimes malloced,
sometimes not.

8b79ae17 06/13/2020 02:21 PM Eric Allman

gdp_name_parse wasn't always showing the fully qualified log name in
debugging output.

9f1349ae 06/04/2019 04:40 PM Eric Allman

Add GDP_INIT_OPT_HONGDS and swarm.gdp.hongd.optional to not give an
error if HONGD is unavailable (i.e., the default has been changed to be
more restrictive); do stricter checking during initialization (and give
better error messages); bump version to 2.1.19.

5c666732 04/08/2019 05:00 PM Eric Allman

HONGD compilation glitches.

0e2c49f6 04/06/2019 04:40 PM Eric Allman

Force MariaDB/MySQL to use a TCP connection instead of a named pipe;
refactor to centralize database initialization to make this easier;
using new interfaces, make gdp-name-add easier to use (notably password
handling).

ad583a18 03/19/2019 01:46 PM Eric Allman

Arrange for gdp-name-xlate to print the human name from HONGD if it can
find it. Also, add gdp-hongd-dump.sh to print entire contents of HONGD
using the parameters used by the C library.

800b33d4 02/05/2019 11:59 AM Eric Allman

Fix some helgrind problems that were innocuous but annoying.

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.

35ff5fa3 01/31/2019 04:22 PM Eric Allman

Do a simple hack to try to make MariaDB reconnect. Probably
insufficient; we really need to have a way to do retries if a
connection fails while a query is in progress.

b65aa385 01/29/2019 03:02 PM Eric Allman

Put mutex around HONGDS SQL queries. This should really be a connection
pool instead of forcing single threading, but I didn't have time to
finish the more complex algorithm.

c6ccd9ef 01/29/2019 01:42 PM Eric Allman

Do primitive caching of default creation service name.

a65f7088 01/24/2019 01:05 PM Eric Allman

Be more vocal on startup errors (HONGDS unconfigured and router
unreachable).

7bdb66fe 01/24/2019 08:42 AM Eric Allman

Be much more explicit if HONGDS isn't properly configured.

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

Update license date on all files. No functional changes.

152db8e9 01/09/2019 12:38 PM Eric Allman

Tweak debug levels: some "errors" in gdp_name_parse aren't really errors
so shouldn't be printed at low debug values.

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

Improvements to gdp-name-xlate.

b2d65f3d 01/05/2019 04:56 PM Eric Allman

Make gdp-name-xlate work more sanely in the new world.

d953d8ef 01/02/2019 11:59 AM Eric Allman

Put a default password on the gdp_user MariaDB user to avoid getting
caught by security scans.

22f2276a 12/20/2018 02:06 PM Eric Allman

Make some fixes for name parsing to handle warning returns from
gdp_name_parse (happens when falling back to SHA256 implementation).

3d4fe414 12/20/2018 12:17 PM Eric Allman

Change default user for reading the Human-Oriented Name to GDPname
database from "anonymous" to "gdp_user", since setting up anonymous
access to MariaDB was causing me problems. That user has no password
(and only SELECT permission on the one table).

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

0c195bbd 12/04/2018 05:26 PM Eric Allman

Make all references to the Human-Oriented Name to GDPname Directory
Service Database use "hongdb" in the name rather than "namedb" for
consistency.

e435842c 11/28/2018 07:42 PM Eric Allman

Make gdp-hongd.cs.berkeley.edu be the default database location for the
Human-Oriented Name to GDPname directory.

Standardize on user gdp being uid 133; consistent uids are important for
volumes in containers.

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

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

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

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

48236b26 04/17/2018 10:29 AM Eric Allman

Break out GDP name utility functions (parse, print, etc.) into a
separate file so Rick can use them in the router without dragging a lot
of cruft along.