Why do I only get 100 documents when syncing shadow bucket through sync_gateway

I set up a shadow bucket (shadow_bucket) to shadow an existing bucket (source_bucket). The files synced from the source_bucket to the shadow_bucket without any apparent problems. However, when I sync my channels from CBLite client I am only getting a total of 100 documents. Everything worked okay when I used a bucket that was loaded through sync_gateway. BUT when I switch over to the shadow_bucket I only get 100 docs. Any clues?

Can you verify whether all the docs appear to exist in the Sync Gateway database? You can use the Sync Gateway REST API (for example, /db/_all_docs) to check.

What versions of Sync Gateway and Couchbase Lite are you using?