I installed YugabyteDB 2.1.5.0 and tried to test with some databases. Trying to do that I dumped users and a database from another server (PostgreSQL).
I managed to import users succesfully but am having trouble with database import.
Firstly I tried to create a database:
ysqlsh -U yugabyte -h 10.10.10.27 -p 5433
and then
yugabyte=# CREATE DATABASE test;
and got following error message:
ERROR: Service unavailable: Operation failed, tablet 00000000000000000000000000000000 operation memory consumption (0) has exceeded its limit (1073741824) or the limit of an ancestral tracker
and if I try to change database to created database:
yugabyte=# \c test;
FATAL: database "test" does not exist
Previous connection kept
Tserver ERROR log:
E0513 09:19:34.750120 27137 tablet_metadata.cc:402] Failed to destroy regular DB at: /var/yugabytedb/yb-data/tserver/data/rocksdb/table-3c22896d54a84fb486c02cfcb9a1cd42/tablet-37dab9c61e65494ab5e9d353a28edc3d: IO error (yb/rocksdb/util/env_posix.cc:326): /var/yugabytedb/yb-data/tserver/data/rocksdb/table-3c22896d54a84fb486c02cfcb9a1cd42/tablet-37dab9c61e65494ab5e9d353a28edc3d/LOCK: No such file or directory
Can you try this setting this option on yb-master:
-tcmalloc_max_free_bytes_percentage (Maximum percentage of the RSS that
tcmalloc is allowed to use for reserved but unallocated memory.)
type: int32 default: 10
yugabyte=# CREATE DATABASE test;
ERROR: Service unavailable: Operation failed, tablet 00000000000000000000000000000000 operation memory consumption (0) has exceeded its limit (1073741824) or the limit of an ancestral tracker