Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
Minds Backend - Engine
Minds Backend - Engine
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
    • Insights
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 277
    • Issues 277
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 46
    • Merge Requests 46
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Security & Compliance
    • Security & Compliance
    • Dependency List
  • Packages
    • Packages
    • List
    • Container Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds Backend - EngineMinds Backend - Engine
  • Merge Requests
  • !362

Open
Opened 1 week ago by Brian Hatchet@brianhatchet:speech_balloon:
  • Report abuse
Report abuse

Cassandra Subscription Request Schema

Moving this from permissions into its own MR

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch origin
git checkout -b "chore/cassandra-subscription-request-schema" "origin/chore/cassandra-subscription-request-schema"

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git fetch origin
git checkout "origin/master"
git merge --no-ff "chore/cassandra-subscription-request-schema"

Step 4. Push the result of the merge to GitLab

git push origin "master"

Note that pushing to GitLab requires write access to this repository.

Tip: You can also checkout merge requests locally by following these guidelines.

Request to merge chore/cassandra-subscription-request-schema into master
Open in Web IDE
  • Email patches
  • Plain diff
Pipeline #89849487 passed for 11a2aedc on chore/cassandra-subscription-request-schema
          Requires 3 more approvals from Devs, Deployers, and QA.
          Rami Albatal
          Rami Albatal
          Guy Thouret
          Guy Thouret
          Mark Harding
          Mark Harding
          Martin Santangelo
          Martin Santangelo
          Emiliano Balbuena
          Emiliano Balbuena
          Ready to be merged automatically. Ask someone with write access to this repository to merge this request

          Deletes source branch

          • Discussion 3
          • Commits 4
          • Pipelines 4
          • Changes 1
          0/2 threads resolved
          • Loading...
          • Brian Hatchet :speech_balloon: @brianhatchet changed milestone to %Permission #review 1 week ago

            changed milestone to %Permission #review

          • Brian Hatchet :speech_balloon: @brianhatchet added Sprint::10/09 - Pink Panther Squad::Green scoped labels 1 week ago

            added Sprint::10/09 - Pink Panther Squad::Green scoped labels

          • Ben Hayward @benhayward.ben approved this merge request 1 week ago

            approved this merge request

          • Brian Hatchet :speech_balloon: @brianhatchet added 18 commits 3 days ago

            added 18 commits

            • 81e20456...4300e1a6 - 17 commits from branch master
            • 489b022b - Merge remote-tracking branch 'origin/master' into chore/cassandra-subscription-request-schema

            Compare with previous version

          • Brian Hatchet :speech_balloon: @brianhatchet added 3 commits 3 days ago

            added 3 commits

            • 489b022b...4ea10248 - 2 commits from branch master
            • 56624457 - Merge remote-tracking branch 'origin/master' into chore/cassandra-subscription-request-schema

            Compare with previous version

          • Brian Hatchet :speech_balloon: @brianhatchet added 1 commit 3 days ago

            added 1 commit

            • 11a2aedc - Added notification_batches schema

            Compare with previous version

          • Ben Hayward @benhayward.ben approved this merge request 42 minutes ago

            approved this merge request

          • Ben Hayward
            Ben Hayward @benhayward.ben started a thread on the diff 42 minutes ago
            Last updated by Emiliano Balbuena 32 minutes ago
            Core/Provisioner/Provisioners/cassandra-provision.cql
            1510 1510 WHERE user_guid IS NOT NULL AND domain IS NOT NULL
            1511 1511 PRIMARY KEY (domain, user_guid)
            1512 1512 WITH CLUSTERING ORDER BY (user_guid ASC);
            1513
            1514 CREATE TABLE minds.subscription_requests (
            1515 publisher_guid bigint,
            1516 subscriber_guid bigint,
            1517 timestamp timestamp,
            1518 declined boolean,
            1519 PRIMARY KEY (publisher_guid, subscriber_guid)
            1520 );
            1521
            1522 CREATE TABLE notification_batches (
            • Ben Hayward
              Ben Hayward @benhayward.ben · 42 minutes ago
              Developer

              No keyspace?

            • Emiliano Balbuena
              Emiliano Balbuena @edgebal · 32 minutes ago
              Developer

              :point_up_2: this

            • Please register or sign in to reply
          • Ben Hayward @benhayward.ben unapproved this merge request 41 minutes ago

            unapproved this merge request

          • Emiliano Balbuena @edgebal approved this merge request 35 minutes ago

            approved this merge request

          • Emiliano Balbuena @edgebal unapproved this merge request 35 minutes ago

            unapproved this merge request

          • Emiliano Balbuena
            Emiliano Balbuena @edgebal started a thread on the diff 32 minutes ago
            Core/Provisioner/Provisioners/cassandra-provision.cql
            1512 1512 WITH CLUSTERING ORDER BY (user_guid ASC);
            1513
            1514 CREATE TABLE minds.subscription_requests (
            1515 publisher_guid bigint,
            1516 subscriber_guid bigint,
            1517 timestamp timestamp,
            1518 declined boolean,
            1519 PRIMARY KEY (publisher_guid, subscriber_guid)
            1520 );
            1521
            1522 CREATE TABLE notification_batches (
            1523 user_guid varint,
            1524 batch_id text,
            1525 primary key (user_guid, batch_id)
            1526 )
            1527 WITH CACHING = {'keys': 'ALL', 'rows_per_partition': 'NONE'}
            • Emiliano Balbuena
              Emiliano Balbuena @edgebal · 32 minutes ago
              Developer

              Try to avoid engine statements (caching, compaction, etc)

            • Please register or sign in to reply
          • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
          Please register or sign in to reply
          Assignee
          Brian Hatchet's avatar
          Brian Hatchet @brianhatchet
          Assign to
          Permission #review
          Milestone
          Permission #review
          Assign milestone
          None
          Time tracking
          No estimate or time spent
          2
          Labels
          Sprint::10/09 - Pink Panther Squad::Green
          Assign labels
          • View project labels
          Lock merge request
          Unlocked
          10
          10 participants
          user avatar
          Rami Albatal
          user avatar
          Guy Thouret
          user avatar
          Mark Harding
          user avatar
          Martin Santangelo
          user avatar
          Emiliano Balbuena
          user avatar
          Marcelo Rivera
          user avatar
          Ben Hayward
          Reference: minds/engine!362