Project: usergrid
Issue USERGRID-614: Refactor compaction operations to be declarative in 2.1
Currently our event system originates from too may points. Both GraphManager and CollectionManager fire events for compaction. This is causing issues with our event orchestration when we aggregate events in the core tier. A quick refactor needs to occur. The following will need to happen. 1) Define new compaction interfaces on the EntityCollectionManager and GraphManager 2) Refactor the existing code to be invoked on these events 3) Invoke the compaction at a higher level. Mark will sill occur, compaction will be deferred to the runtime. This allows a separate distributed subsystem to be created.
Story points: 3