Jens Alfke
snej

Organizations

@couchbase @couchbaselabs
Jul 27, 2016
snej commented on issue couchbase/sync_gateway#2005
@snej

Sounds fine to me — it makes sense that this might be desired.

Jul 26, 2016
@snej

Is it possible that ForestDBViewStore.updateIndexes was called with the same view appearing multiple times in the array? That's the only way that I…

Jul 26, 2016
@snej
Multiple Transactions on same Database* cause assertion failure in thread-safe mode
Jul 26, 2016
snej commented on issue couchbaselabs/cbforest#99
@snej

Never mind -- this isn't actually correct.

Jul 26, 2016
@snej
Multiple Transactions on same Database* cause assertion failure in thread-safe mode
Jul 26, 2016
@snej

More generally: In CBForest if two threads try to create a transaction on the same Database object, the second one will hit this assertion failure.…

Jul 26, 2016
@snej

I think this is similar to the other bug. It looks like you can't have two indexers on the same view at the same time.

snej deleted branch feature/issue_1383 at couchbase/couchbase-lite-ios
Jul 26, 2016
Jul 26, 2016
@snej
Jul 26, 2016
@snej
iOS unit tests build broken due to link errors
Jul 26, 2016
@snej
Fixed #1383 : Link libCBLForestDBStorage.a to CBL iOS Unit Tests and CBL tvOS Unit Target
1 commit with 4 additions and 0 deletions
Jul 26, 2016
@snej

beginIndex will lock each view in turn. Is it being called with multiple views? If they're listed in a different order, you could get a deadlock.

Jul 26, 2016
@snej

Why is it logging Invalid filename as a view store?

Jul 25, 2016
@snej
New Clang warning: "'extern' variable has an initializer"
Jul 25, 2016
@snej
iOS unit tests build broken due to link errors
Jul 25, 2016
@snej

Is the main thread using a separate CBLManager (and database, etc) than your background thread? It needs to be. Although you should already be gett…

Jul 22, 2016
Jul 21, 2016
@snej

This may be a performance problem because if the view's update_seq (lastSequenceIndexed) is less than the db's lastSequence, it will be indexed. So…

Jul 21, 2016
@snej
  • @snej 41e2dd6
    Updated CBForest to pick up ForestDB rollback of perf regression
Jul 21, 2016
@snej
40% ForestDB performance regression on iOS
Jul 21, 2016
@snej
  • @snej 039e0b6
    Resolved new Xcode 8 compiler warning
Jul 21, 2016
@snej
  • @snej 3359f0b
    MYAnonymousIdentity: Fixed new Xcode 8 compiler warning
Jul 21, 2016
@snej
Jul 21, 2016
@snej

This was filed against ForestDB as MB-20219. They're fixing it by rolling back the change.

Jul 21, 2016
@snej
40% ForestDB performance regression on iOS
Jul 21, 2016
Jul 21, 2016
@snej

what is the best practice to make a custom (and not very often) schedule for the replication to check for changes to the database? You can use a …

Jul 21, 2016
@snej

In general you're correct — if a client pushes a doc that's invalid according to the sync fn, it'll be rejected without notice. The general respons…

Jul 21, 2016
@snej

The "CBL_BlobStoreWriter can't create temp file" issue is one I haven't seen before — errno 2 is ENOENT, "no such file or directory". If that's ret…

Jul 21, 2016
@snej

Awesome!! It may be possible to patch this in without modifying ReactNative, but only through ugly hacks like using the Obj-C runtime to splice new…