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

arangorestore command terminated arangodb process #269

Open
mathsyouth opened this issue Oct 23, 2020 · 0 comments
Open

arangorestore command terminated arangodb process #269

mathsyouth opened this issue Oct 23, 2020 · 0 comments

Comments

@mathsyouth
Copy link

My Environment

  • ArangoDB Version: 3.6.7-1
  • Storage Engine: RocksDB
  • Deployment Mode: single instance
  • Deployment Strategy: ArangoDB Starter
  • Configuration: 1 machine
  • Infrastructure: own
  • Operating System: CentOS 7.3
  • Total RAM in your machine: 64Gb each
  • Disks in use: HDD

Component, Query & Data

Affected feature:
arangorestore restores a database

AQL query (if applicable):

AQL explain and/or profile (if applicable):

Problem:

I created a database named "test" which has no collections and no edge collections.

I run the following code:

bin/arangorestore --server.endpoint tcp://127.0.0.1:8529 --server.name test --server.password test --server.authentication true --server.database test --input-directory "dump_db" --force-same-database true

The printed log on the screen is:

[13336] ERROR [e8e7a] {restore} Error while creating collection 'production': got invalid response from server: 'Connection closed by remote' while executing restoring collection with this payload: '{"index": [],"parameters":{"cacheEnabled":false,"deleted":false,"globallyUniquedId":"c10011700/","id":"10011700:......}
[13336] ERROR [cb69f] {restore} got invalid response from server: 'Connection closed by remote' while executing restoring collection with this payload: '{"indexes":[],....}'

There is also an INFO message in arangodb's arangod.log:

|INFO| Wait on 31818 returned component=arangodb core-dump=true signal="segmentation fault" trap-cause=-1
|INFO| Terminated single component=arangodb process=31818
|INFO| single has terminated component=arangodb
|INFO| restarting single component=arangodb
|INFO| Looking for a running instance of single on port 8529 componnent=arangodb
.......

However, if I created all the collections for the "test" database manually and then run the above commands, all the data was successfully loaded into arangodb. I don't know why.

Expected result:

The arangorestore could be executed successfully, without creating collections ahead of time.

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

No branches or pull requests

1 participant