Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ftr: Application-level Registry Model #604

Merged
merged 230 commits into from
Jul 12, 2020
Merged

Conversation

flycash
Copy link
Member

@flycash flycash commented Jun 13, 2020

What this PR does:
Milestone 1.5.0

registry/zookeeper/service_discovery_test.go Outdated Show resolved Hide resolved
remoting/consul/test_agent.go Outdated Show resolved Hide resolved
remoting/zookeeper/facade.go Outdated Show resolved Hide resolved
@flycash flycash force-pushed the 2.7.5-bk branch 5 times, most recently from f59430b to e5afb63 Compare July 10, 2020 15:51
type BaseListener struct {
Listenable
ListenersCache map[reflect.Type][]EventListener
Mutex sync.RWMutex
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this lock is public ?

)

const (
defaultGroup = config_center.DEFAULT_GROUP
defaultGroup = "mapping"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once you change this variable , will it cause compatibility issues?

registry/servicediscovery/service_discovery_registry.go Outdated Show resolved Hide resolved
registry/servicediscovery/service_discovery_registry.go Outdated Show resolved Hide resolved
registry/servicediscovery/service_discovery_registry.go Outdated Show resolved Hide resolved
)

// tryInitMetadataService will try to initialize metadata service
// TODO (move to somewhere)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move to where?

remoting/etcdv3/client.go Outdated Show resolved Hide resolved
remoting/zookeeper/curator_discovery/service_discovery.go Outdated Show resolved Hide resolved

const (
ETCDV3_KEY = "etcdv3"
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the constant into etcd 's directory.

@@ -155,6 +163,14 @@ const (
NACOS_USERNAME = "username"
)

const (
ZOOKEEPER_KEY = "zookeeper"
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the constant into zookeeper 's directory.

@@ -155,6 +163,14 @@ const (
NACOS_USERNAME = "username"
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the constant into nacos's directory.

@@ -64,7 +83,7 @@ func (c *BaseConfig) startConfigCenter() error {
if c.prepareEnvironment() != nil {
return perrors.WithMessagef(err, "start config center error!")
}
//c.fresh()
// c.fresh()
return err
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

@flycash flycash merged commit fdc9fd2 into apache:develop Jul 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants