couchbaselabs / couchbaselabs/cbmigrate

How to disable index copying

Open
#27 2 comments 0 reactions 1 assignee Claimed by @shyam-cb View on GitHub
Dominant language
Go
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Hello,

When I run `cbmigrate` with `--copy-indexes false` argument indexes are copied anyway. Default value of this flag is `true` so if I don't pass it, indexes will copy again.
What is the proper way to disable index copying?
Source cluster is MongoDB Atlas.

```
$ ./cbmigrate --version
Version: 1.0.2
$ ./cbmigrate ... --copy-indexes false --debug
...
INFO data migration completed
INFO index migration started
DEBUG index idx_1 created successfully
DEBUG index idx_2 created successfully
...
DEBUG index idx_n created successfully
DEBUG Indexes deferred are now building in background
INFO index migration completed
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.