#8015 Activitystream needs ming config option NEEDS INI

v1.3.2
closed
General
Heith Seewald
2015-11-30
2015-11-02
No

Allura uses the Activitystreams library and choses to use its Ming backend (specified in Allura/setup.py). Ming's auto_ensure_indexes setting defaults to true, but we should have a way to specify that as false for Activitystream.

Ideally we'd be able to pass through any additional params, just like the regular ming configuration that Allura uses for its own allura & project-data connections.

Discussion

  • Dave Brondsema

    Dave Brondsema - 2015-11-02
    • labels: sf-current, activitystreams --> sf-current, activitystreams, sf-2
     
  • Dave Brondsema

    Dave Brondsema - 2015-11-12
    • status: open --> in-progress
    • assigned_to: Dave Brondsema
     
  • Dave Brondsema

    Dave Brondsema - 2015-11-12
    • status: in-progress --> review
     
  • Dave Brondsema

    Dave Brondsema - 2015-11-12

    https://sourceforge.net/p/activitystream/code/merge-requests/1/ and allura:db/8015 Will require an activitystream release and increment in requirements.txt

    To test with allura, set activitystream.ming.auto_ensure_indexes = false in the .ini file. Then check on what mongo operations happen with these commands:

    use activitystream;
    // capture all operations
    db.setProfilingLevel(2);
    // run this before & after restarting the webserver and hitting an activity page.  Ensure count doesn't go up now.
    db.system.profile.find({op: 'insert', ns: 'activitystream.system.indexes'}).count();
    // return to normal
    db.setProfilingLevel(1);
    
     
  • Heith Seewald - 2015-11-18
    • status: review --> closed
    • Reviewer: Heith Seewald
     
  • Heith Seewald - 2015-11-18

    Looks good.

    merged

     
  • Dave Brondsema

    Dave Brondsema - 2015-11-18
    • summary: Activitystream needs ming config option --> Activitystream needs ming config option NEEDS INI
     
  • Dave Brondsema

    Dave Brondsema - 2015-11-30
    • labels: sf-current, activitystreams, sf-2 --> activitystreams, sf-2
     
  • Dave Brondsema

    Dave Brondsema - 2015-12-08
    • Milestone: unreleased --> v1.3.2
     

Log in to post a comment.