Skip to content
New issue

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

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

Already on GitHub? # to your account

The slave server can not be sync snapshot successful #471

Open
Gourds opened this issue Oct 31, 2019 · 0 comments
Open

The slave server can not be sync snapshot successful #471

Gourds opened this issue Oct 31, 2019 · 0 comments

Comments

@Gourds
Copy link

Gourds commented Oct 31, 2019

The test was successful when there was no write operation. Is it related to the write operation?

[3236] 10-31 01:30:00,778 INFO ========================Period Statistics Dump End===========================
?ERROR
[3236] 10-31 01:20:24,191 INFO [RocksDB]              Options.memtable_prefix_bloom_size_ratio: 0.100000
[3236] 10-31 01:20:24,191 INFO [RocksDB]  Options.memtable_huge_page_size: 0
[3236] 10-31 01:20:24,191 INFO [RocksDB]                          Options.bloom_locality: 1
[3236] 10-31 01:20:24,191 INFO [RocksDB]                   Options.max_successive_merges: 0
[3236] 10-31 01:20:24,191 INFO [RocksDB]               Options.optimize_filters_for_hits: 0
[3236] 10-31 01:20:24,191 INFO [RocksDB]               Options.paranoid_file_checks: 0
[3236] 10-31 01:20:24,191 INFO [RocksDB]               Options.force_consistency_checks: 0
[3236] 10-31 01:20:24,191 INFO [RocksDB]               Options.report_bg_io_stats: 0
[3236] 10-31 01:20:24,198 INFO [RocksDB][db/version_set.cc:2996] Recovered from manifest file:/opt/db/ardb/data/rocksdb/MANIFEST-000001 succeeded,manifest_file_number is 1, next_file_number is 3, last_sequence is 0, log_number is 0,prev_log_number is 0,max_column_family is 0

[3236] 10-31 01:20:24,198 INFO [RocksDB][db/version_set.cc:3004] Column family [default] (ID 0), log number is 0

[3236] 10-31 01:20:24,201 INFO [RocksDB][db/db_impl_open.cc:1111] DB pointer 0x7f3e2c44e000
[3236] 10-31 01:20:24,201 INFO Ardb init engine:rocksdb success.
[3236] 10-31 01:20:24,204 INFO Ardb will accept connections on 10.4.4.201:16379
[3236] 10-31 01:20:24,205 INFO Ardb started with version 0.9.6
[3236] 10-31 01:20:53,219 INFO [Slave]Connecting master 10.33.4.101:16379
[3236] 10-31 01:20:53,220 INFO [Slave]Remote master is an ardb instance.
[3236] 10-31 01:20:53,220 INFO Send psync ? 0 cksm 0 engine rocksdb
[3236] 10-31 01:20:53,220 INFO Recv psync reply:FULLBACKUP b803a1c56e690428bb5feefba799b9351741e7b6 187961927321701 17920804113527670030
[3236] 10-31 01:20:53,220 INFO [Slave]Create sync backup path:/opt/db/ardb/backup/sync-rocksdb-backup.187961927321701.17920804113527670030.1572484853.tmp
[3236] 10-31 01:29:09,207 INFO Backup file: sync success.
[3236] 10-31 01:29:09,207 INFO Backup sync success.
[3236] 10-31 01:29:09,207 INFO Start loading snapshot:/opt/db/ardb/backup/sync-rocksdb-backup.187961927321701.17920804113527670030.1572484853
[3236] 10-31 01:29:09,208 INFO [RocksDB][db/db_impl.cc:225] Shutdown: canceling all background work
[3236] 10-31 01:29:09,208 INFO [RocksDB][db/db_impl.cc:355] Shutdown complete
[3236] 10-31 01:29:09,208 ERROR Failed to backup rocksdb for reason:NotFound: /opt/db/ardb/backup/sync-rocksdb-backup.187961927321701.17920804113527670030.1572484853/meta is missing
[3236] 10-31 01:29:09,208 INFO [RocksDB]RocksDB version: 5.8.8

[3236] 10-31 01:29:09,208 INFO [RocksDB]Git sha rocksdb_build_git_sha:8f7f3af29542cf912c2f8b2fc0e1ec9ad03ecd7d
[3236] 10-31 01:29:09,208 INFO [RocksDB]Compile date Jan 15 2018
[3236] 10-31 01:29:09,208 INFO [RocksDB]DB SUMMARY

[3236] 10-31 01:29:09,208 INFO [RocksDB]CURRENT file:  CURRENT

[3236] 10-31 01:29:09,208 INFO [RocksDB]IDENTITY file:  IDENTITY

[3236] 10-31 01:29:09,208 INFO [RocksDB]MANIFEST file:  MANIFEST-000001 size: 13 Bytes

[3236] 10-31 01:29:09,208 INFO [RocksDB]SST files in /opt/db/ardb/data/rocksdb dir, Total Num: 0, files:

[3236] 10-31 01:29:09,208 INFO [RocksDB]Write Ahead Log file in /opt/db/ardb/data/rocksdb: 000003.log size: 0 ;
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant