Closed Bug 864391 Opened 9 years ago Closed 8 years ago

create tables to support skiplist in database

Categories

(Socorro :: Database, task)

x86_64
Linux
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lars, Assigned: selenamarie)

References

Details

(Whiteboard: [qa-])

we need a new table to hold the skip list information that's currently held in configuration and/or hard coded.

The table should look like this;

   category: text
   rule: text

Some sample data could look like this:

   category    rule
   ----------- ---------------------------------
   prefix      (libxul\.so|xul\.dll|XUL)@0x.*
   ignore      @0x[0-9a-fA-F]{2,}
   prefix      SocketShutdown
   prefix      operator new\([^,\)]+\)
   sentinel    '_purecall',
               ('mozilla::ipc::RPCChannel::Call(IPC::Message*, IPC::Message*)',
                lambda x: 'CrashReporter::CreatePairedMinidumps(void*, '
                  'unsigned long, nsAString_internal*, nsILocalFile**, '
                  'nsILocalFile**)' in x
               )
   prefix      arena_.*


order is unimportant

This table will be read once at the beginning of a run of the processor.  If we ever implement SIGHUP in the processors, then this table would be read again after SIGHUP.
Blocks: 864392
Blocks: 864394
Blocks: 864396
rather than the values listed in Comment #0, valid values for `category` should be
   prefix
   irrelevant
   line_number
   sentinel
Assignee: nobody → sdeckelmann
Target Milestone: --- → 47
Target Milestone: 47 → 48
Commits pushed to master at https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/05ee39c7aecec94b12ed8a00e036a9b22cd6db6a
bug 864391 - Add skiplist table and migration

https://github.com/mozilla/socorro/commit/b47f8bc3033dd81152ba20e7db21cdd7b509a909
Merge pull request #1259 from selenamarie/bug864391-skiplist-db

bug 864391 - Add skiplist table and migration
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.