)]}'
{"src/file_handle.cc":[{"author":{"_account_id":1000338,"name":"Abhi Dangeti","email":"abhinav@couchbase.com","username":"abhinavdangeti","avatars":[{"url":"https://www.gravatar.com/avatar/9007099855b1bf7d96e9c1a10bc9542e.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/9007099855b1bf7d96e9c1a10bc9542e.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/9007099855b1bf7d96e9c1a10bc9542e.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/9007099855b1bf7d96e9c1a10bc9542e.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]},"change_message_id":"33a19433fdf62f2baa8c5514f445f1e54ca4faf2","unresolved":false,"context_lines":[{"line_number":29,"context_line":"    spin_init(\u0026lock);"},{"line_number":30,"context_line":"}"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"FdbFileHandle::FdbFileHandle(struct _fdb_kvs_handle *_root) : root(_root) {"},{"line_number":33,"context_line":"    root-\u003efhandle \u003d this;"},{"line_number":34,"context_line":"    handles \u003d (struct list*) calloc(1, sizeof(struct list));"},{"line_number":35,"context_line":"    cmpFuncList \u003d NULL;"}],"source_content_type":"text/x-c","patch_set":3,"id":"1d0ddde9_089e2f5a","line":32,"range":{"start_line":32,"start_character":60,"end_line":32,"end_character":73},"updated":"2016-05-20 21:46:12.000000000","message":"Can we move this to the next line? I almost didn\u0027t notice it : )","commit_id":"bb947ec3447a36104ee6798caf8da608cc63123a"},{"author":{"_account_id":1000097,"name":"Chiyoung Seo","email":"chiyoung@northscale.com","username":"chiyoung","avatars":[{"url":"https://www.gravatar.com/avatar/ec517f4126dd292151b452ce4d1edf31.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/ec517f4126dd292151b452ce4d1edf31.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/ec517f4126dd292151b452ce4d1edf31.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/ec517f4126dd292151b452ce4d1edf31.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]},"change_message_id":"a1dd3deaf9e6491523147bb08c29428deb575096","unresolved":false,"context_lines":[{"line_number":29,"context_line":"    spin_init(\u0026lock);"},{"line_number":30,"context_line":"}"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"FdbFileHandle::FdbFileHandle(struct _fdb_kvs_handle *_root) : root(_root) {"},{"line_number":33,"context_line":"    root-\u003efhandle \u003d this;"},{"line_number":34,"context_line":"    handles \u003d (struct list*) calloc(1, sizeof(struct list));"},{"line_number":35,"context_line":"    cmpFuncList \u003d NULL;"}],"source_content_type":"text/x-c","patch_set":3,"id":"1d0ddde9_68b52bbd","line":32,"in_reply_to":"1d0ddde9_089e2f5a","updated":"2016-05-20 22:16:17.000000000","message":"Sure, done.","commit_id":"bb947ec3447a36104ee6798caf8da608cc63123a"},{"author":{"_account_id":1000338,"name":"Abhi Dangeti","email":"abhinav@couchbase.com","username":"abhinavdangeti","avatars":[{"url":"https://www.gravatar.com/avatar/9007099855b1bf7d96e9c1a10bc9542e.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/9007099855b1bf7d96e9c1a10bc9542e.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/9007099855b1bf7d96e9c1a10bc9542e.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/9007099855b1bf7d96e9c1a10bc9542e.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]},"change_message_id":"33a19433fdf62f2baa8c5514f445f1e54ca4faf2","unresolved":false,"context_lines":[{"line_number":32,"context_line":"FdbFileHandle::FdbFileHandle(struct _fdb_kvs_handle *_root) : root(_root) {"},{"line_number":33,"context_line":"    root-\u003efhandle \u003d this;"},{"line_number":34,"context_line":"    handles \u003d (struct list*) calloc(1, sizeof(struct list));"},{"line_number":35,"context_line":"    cmpFuncList \u003d NULL;"},{"line_number":36,"context_line":"    flags \u003d 0x0;"},{"line_number":37,"context_line":"    spin_init(\u0026lock);"},{"line_number":38,"context_line":"}"}],"source_content_type":"text/x-c","patch_set":3,"id":"1d0ddde9_2885f301","line":35,"range":{"start_line":35,"start_character":18,"end_line":35,"end_character":22},"updated":"2016-05-20 21:46:12.000000000","message":"We should probably start using nullptr rather than NULL now with the code being refactored into C++.","commit_id":"bb947ec3447a36104ee6798caf8da608cc63123a"},{"author":{"_account_id":1000097,"name":"Chiyoung Seo","email":"chiyoung@northscale.com","username":"chiyoung","avatars":[{"url":"https://www.gravatar.com/avatar/ec517f4126dd292151b452ce4d1edf31.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/ec517f4126dd292151b452ce4d1edf31.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/ec517f4126dd292151b452ce4d1edf31.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/ec517f4126dd292151b452ce4d1edf31.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]},"change_message_id":"a1dd3deaf9e6491523147bb08c29428deb575096","unresolved":false,"context_lines":[{"line_number":32,"context_line":"FdbFileHandle::FdbFileHandle(struct _fdb_kvs_handle *_root) : root(_root) {"},{"line_number":33,"context_line":"    root-\u003efhandle \u003d this;"},{"line_number":34,"context_line":"    handles \u003d (struct list*) calloc(1, sizeof(struct list));"},{"line_number":35,"context_line":"    cmpFuncList \u003d NULL;"},{"line_number":36,"context_line":"    flags \u003d 0x0;"},{"line_number":37,"context_line":"    spin_init(\u0026lock);"},{"line_number":38,"context_line":"}"}],"source_content_type":"text/x-c","patch_set":3,"id":"1d0ddde9_a8c7433d","line":35,"in_reply_to":"1d0ddde9_2885f301","updated":"2016-05-20 22:16:17.000000000","message":"yep, done.","commit_id":"bb947ec3447a36104ee6798caf8da608cc63123a"}],"src/file_handle.h":[{"author":{"_account_id":1000338,"name":"Abhi Dangeti","email":"abhinav@couchbase.com","username":"abhinavdangeti","avatars":[{"url":"https://www.gravatar.com/avatar/9007099855b1bf7d96e9c1a10bc9542e.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/9007099855b1bf7d96e9c1a10bc9542e.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/9007099855b1bf7d96e9c1a10bc9542e.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/9007099855b1bf7d96e9c1a10bc9542e.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]},"change_message_id":"33a19433fdf62f2baa8c5514f445f1e54ca4faf2","unresolved":false,"context_lines":[{"line_number":129,"context_line":"    stale_header_info getOldestActiveHeader();"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"private:"},{"line_number":132,"context_line":"    /**"},{"line_number":133,"context_line":"     * The root KV store handle."},{"line_number":134,"context_line":"     */"},{"line_number":135,"context_line":"    struct _fdb_kvs_handle *root;"},{"line_number":136,"context_line":"    /**"},{"line_number":137,"context_line":"     * List of opened default KV store handles"},{"line_number":138,"context_line":"     * (except for the root handle)."},{"line_number":139,"context_line":"     */"},{"line_number":140,"context_line":"    struct list *handles;"},{"line_number":141,"context_line":"    /**"},{"line_number":142,"context_line":"     * List of custom compare functions assigned by user"},{"line_number":143,"context_line":"     */"},{"line_number":144,"context_line":"    struct list *cmpFuncList;"},{"line_number":145,"context_line":"    /**"},{"line_number":146,"context_line":"     * Flags for the file handle."},{"line_number":147,"context_line":"     */"},{"line_number":148,"context_line":"    uint64_t flags;"},{"line_number":149,"context_line":"    /**"},{"line_number":150,"context_line":"     * Spin lock for the file handle."},{"line_number":151,"context_line":"     */"},{"line_number":152,"context_line":"    spin_t lock;"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"    DISALLOW_COPY_AND_ASSIGN(FdbFileHandle);"},{"line_number":155,"context_line":"};"}],"source_content_type":"text/x-csrc","patch_set":3,"id":"1d0ddde9_88923f4a","line":152,"range":{"start_line":132,"start_character":0,"end_line":152,"end_character":16},"updated":"2016-05-20 21:46:12.000000000","message":"With _fdb_file_handle being a structure before, these were all public attributes.\n\nNow with this typedef\u0027ed to fdb_file_handle if any client were to reference these attributes from a file_handle, wouldn\u0027t they run into access errors?\n\nI guess my question is would 2i/cbft etc. have to refactor their code, like you\u0027ve refactored compact_functional_test as part of this change.","commit_id":"bb947ec3447a36104ee6798caf8da608cc63123a"},{"author":{"_account_id":1000097,"name":"Chiyoung Seo","email":"chiyoung@northscale.com","username":"chiyoung","avatars":[{"url":"https://www.gravatar.com/avatar/ec517f4126dd292151b452ce4d1edf31.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d32","height":32},{"url":"https://www.gravatar.com/avatar/ec517f4126dd292151b452ce4d1edf31.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d56","height":56},{"url":"https://www.gravatar.com/avatar/ec517f4126dd292151b452ce4d1edf31.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d100","height":100},{"url":"https://www.gravatar.com/avatar/ec517f4126dd292151b452ce4d1edf31.jpg?d\u003didenticon\u0026r\u003dpg\u0026s\u003d120","height":120}]},"change_message_id":"a1dd3deaf9e6491523147bb08c29428deb575096","unresolved":false,"context_lines":[{"line_number":149,"context_line":"    /**"},{"line_number":150,"context_line":"     * Spin lock for the file handle."},{"line_number":151,"context_line":"     */"},{"line_number":152,"context_line":"    spin_t lock;"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"    DISALLOW_COPY_AND_ASSIGN(FdbFileHandle);"},{"line_number":155,"context_line":"};"}],"source_content_type":"text/x-csrc","patch_set":3,"id":"1d0ddde9_88b87fb7","line":152,"in_reply_to":"1d0ddde9_88923f4a","updated":"2016-05-20 22:16:17.000000000","message":"No, they shouldn\u0027t access the member variables of this class. This handle is an opaque structure to ForestDB clients, but an internal class used by ForestDB.","commit_id":"bb947ec3447a36104ee6798caf8da608cc63123a"}]}
