CouchDB
  1. CouchDB
  2. COUCHDB-550

Provide Futon UI option that would use 'stale=ok' when browsing DB views in Futon, useful for write-heavy DB's

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Futon
    • Labels:
      None
    • Environment:

      All

      Description

      If a CouchDB has continuous writes, as in the case of a log capturing system, it becomes very difficult to use Futon to browse the views in a design document. If writes are continuous in the background, and the admin chooses a view to browse in Futon, CouchDB will force an update to the view index and will block Futon on trying to browse that design document. This makes it almost impossible to be able to browse the view results as the indexing may never catch up with the writes.

      A possible solution to this is to provide a UI option (Checkbox) in Futon which would append the "stale='ok'" onto all Futon view requests allowing for instantaneous browsing of the current state of the DB view indexes. This option would be off by default (current behavior).

        Activity

        Hide
        Filipe Manana added a comment -

        Hello,

        This is my first submitted patch for CouchDB.

        Hope it meets your quality standards.
        Feedback is welcome.

        cheers

        Show
        Filipe Manana added a comment - Hello, This is my first submitted patch for CouchDB. Hope it meets your quality standards. Feedback is welcome. cheers
        Hide
        Filipe Manana added a comment -

        No new on this?

        No patch feedback?

        cheers

        Show
        Filipe Manana added a comment - No new on this? No patch feedback? cheers
        Hide
        Pierre Beck added a comment -

        I would welcome this feature, too. Navigating large datasets with lots of changes per second is virtually impossible with Futon (I experience Index build times of 30 minutes and more) and this feat would fix that.

        Show
        Pierre Beck added a comment - I would welcome this feature, too. Navigating large datasets with lots of changes per second is virtually impossible with Futon (I experience Index build times of 30 minutes and more) and this feat would fix that.
        Hide
        Filipe Manana added a comment -

        Pierre, we're about to release 1.0 (based on trunk).

        After that, and if nobody is against it, I can add it to trunk.
        If you desperately need this feature for 1.0, join the @dev mailing list and ask for community vote.

        Show
        Filipe Manana added a comment - Pierre, we're about to release 1.0 (based on trunk). After that, and if nobody is against it, I can add it to trunk. If you desperately need this feature for 1.0, join the @dev mailing list and ask for community vote.
        Hide
        Pierre Beck added a comment -

        Too late for 1.0 now I don't see why anyone would not want this feature. 1.01 maybe?

        Show
        Pierre Beck added a comment - Too late for 1.0 now I don't see why anyone would not want this feature. 1.01 maybe?
        Hide
        Filipe Manana added a comment -

        It's in my TODO list
        Unless somebody says no for 1.0.1, I'll commit it soon

        Show
        Filipe Manana added a comment - It's in my TODO list Unless somebody says no for 1.0.1, I'll commit it soon
        Hide
        Filipe Manana added a comment -

        Feature added to trunk and branch 1.0.x

        Show
        Filipe Manana added a comment - Feature added to trunk and branch 1.0.x

          People

          • Assignee:
            Filipe Manana
            Reporter:
            Glenn Rempe
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development