Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

monetdb create/release/start/stop returns error "OK" for remote connections #2984

Closed
monetdb-team opened this issue Nov 30, 2020 · 0 comments
Closed

Comments

@monetdb-team
Copy link

@monetdb-team monetdb-team commented Nov 30, 2020

Date: 2012-01-23 10:34:18 +0100
From: @grobian
To: Merovingian devs <>
Version: 11.7.5 (Dec2011) [obsolete]

Last updated: 2012-02-29 10:34:25 +0100

Comment 16808

Date: 2012-01-23 10:34:18 +0100
From: @grobian

(vomac:/) fabian% /usr/local/monetdb/bin/monetdb -hlocalhost -p50000 -Ptest create mytest2
create: OK

(vomac:/) fabian% /usr/local/monetdb/bin/monetdb -hlocalhost -p50000 -Ptest release mytest2
release: OK

(vomac:/) fabian% /usr/local/monetdb/bin/monetdb -hlocalhost -p50000 -Ptest start mytest2
starting database 'mytest2'... FAILED
start: OK

(vomac:/) fabian% /usr/local/monetdb/bin/monetdb -hlocalhost -p50000 -Ptest stop mytest2
stopping database 'mytest2'... FAILED
stop: OK

(vomac:/) fabian% /usr/local/monetdb/bin/monetdb -hlocalhost -p50000 -Ptest status
name state uptime health
mynewdb stopped 100%, 34s
mytest2 stopped 100%, 13s
(vomac:/) fabian% /usr/local/monetdb/bin/monetdb -hlocalhost -p50000 -Ptest discover
location
mapi:monetdb://vomac.cwi.nl:50000/mynewdb
mapi:monetdb://vomac.cwi.nl:50000/mytest2

Comment 16809

Date: 2012-01-23 10:37:06 +0100
From: @grobian

incidently, the merovingian.log says:

2012-01-23 10:33:06 ERR control[55208]: localhost:54694: error reading from cont
rol channel: Unknown error: 0

Comment 16845

Date: 2012-01-30 16:28:11 +0100
From: @grobian

Changeset 12897126f239 made by Fabian Groffen fabian@cwi.nl in the MonetDB repo, refers to this bug.

For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=12897126f239

Changeset description:

ctl_handle_client: don't send double trailing newlines

Fix for bug #2984.  Due to sending too many newlines, the client code
interpreted the answer from the server as not being the exact string
"OK\n".  (Correct, there was another '\n').

Comment 16846

Date: 2012-01-30 16:56:59 +0100
From: @grobian

Changeset da50d8af4828 made by Fabian Groffen fabian@cwi.nl in the MonetDB repo, refers to this bug.

For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=da50d8af4828

Changeset description:

recvWithTimeout: tweak logic involving mnstr_errnr return

Return something more useful, avoiding "error reading from control
channel" error messages in the log, as observed in bug #2984.

Comment 16847

Date: 2012-01-30 16:58:20 +0100
From: @grobian

Fixed with previous two commits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant