Uploaded image for project: 'S2Graph'
  1. S2Graph
  2. S2GRAPH-127

Refactor ExceptionHander Object into Class.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Done
    • Minor
    • Resolution: Done
    • 0.2.0
    • None
    • None
    • None

    Description

      Improvement

      We are using one single global object ExceptionHandler to handle both of following fail scenario.

      1. To publish all incoming requests(WALLOG) into kafka topic.
      2. To publish failed mutations when Storage failed to mutate into backend storage.

      WALLOG should be handled on REST server layer, not in s2core.
      FAILLOG on storage backend should be handled in s2core.

      Let's separate two case by changing ExceptionHandler from object to class so each case can use separate class instance for each usage.

      Basically, any failure on s2core should throw exception so client can decide how to process exception, but this can be large issue so let's make it separate issue.

      Attachments

        Issue Links

          Activity

            People

              steamshon Do Yung Yoon
              daewon Daewon Jeong
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: